mirror of https://github.com/axmolengine/axmol.git
Update CCSprite3D.cpp
Fixed Sprite3DCache::removeSprite3DData error
This commit is contained in:
parent
f3fd111200
commit
fbadcf188a
|
@ -974,8 +974,8 @@ void Sprite3DCache::removeSprite3DData(const std::string& key)
|
|||
if (it != _spriteDatas.end())
|
||||
{
|
||||
delete it->second;
|
||||
_spriteDatas.erase(it);
|
||||
}
|
||||
_spriteDatas.erase(it);
|
||||
}
|
||||
|
||||
void Sprite3DCache::removeAllSprite3DData()
|
||||
|
|
Loading…
Reference in New Issue