mirror of https://github.com/axmolengine/axmol.git
creator c++ support bug fixes (#17051)
I need these 2 changes applied to v3.14 in order to support C++ correctly in Creator. Thanks!
This commit is contained in:
parent
9e57d6b7d4
commit
c4a20a032f
|
@ -688,6 +688,7 @@ void Sprite::setCenterRectNormalized(const cocos2d::Rect &rectTopLeft)
|
||||||
|
|
||||||
updateStretchFactor();
|
updateStretchFactor();
|
||||||
updatePoly();
|
updatePoly();
|
||||||
|
updateColor();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -627,7 +627,7 @@ CC_CONSTRUCTOR_ACCESS :
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
void updateColor() override;
|
virtual void updateColor() override;
|
||||||
virtual void setTextureCoords(const Rect& rect);
|
virtual void setTextureCoords(const Rect& rect);
|
||||||
virtual void setTextureCoords(const Rect& rect, V3F_C4B_T2F_Quad* outQuad);
|
virtual void setTextureCoords(const Rect& rect, V3F_C4B_T2F_Quad* outQuad);
|
||||||
virtual void setVertexCoords(const Rect& rect, V3F_C4B_T2F_Quad* outQuad);
|
virtual void setVertexCoords(const Rect& rect, V3F_C4B_T2F_Quad* outQuad);
|
||||||
|
|
Loading…
Reference in New Issue