Add aabb dirty mark when load from file

This commit is contained in:
XiaoFeng 2015-11-27 15:53:26 +08:00
parent 8e4276469c
commit 71871bacf9
1 changed files with 1 additions and 0 deletions

View File

@ -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);