mirror of https://github.com/axmolengine/axmol.git
Add aabb dirty mark when load from file
This commit is contained in:
parent
8e4276469c
commit
71871bacf9
|
@ -286,6 +286,7 @@ bool Sprite3D::init()
|
||||||
|
|
||||||
bool Sprite3D::initWithFile(const std::string& path)
|
bool Sprite3D::initWithFile(const std::string& path)
|
||||||
{
|
{
|
||||||
|
_aabbDirty = true;
|
||||||
_meshes.clear();
|
_meshes.clear();
|
||||||
_meshVertexDatas.clear();
|
_meshVertexDatas.clear();
|
||||||
CC_SAFE_RELEASE_NULL(_skeleton);
|
CC_SAFE_RELEASE_NULL(_skeleton);
|
||||||
|
|
Loading…
Reference in New Issue