mirror of https://github.com/axmolengine/axmol.git
clean all action from s_fadeInAnimates, s_fadeOutAnimates, s_runningAnimates!!!!
This commit is contained in:
parent
df95ab8f1a
commit
ab2c773c5c
|
@ -433,11 +433,8 @@ void Animate3D::removeFromMap()
|
|||
if (_target)
|
||||
{
|
||||
Sprite3D* sprite = static_cast<Sprite3D*>(_target);
|
||||
if (_state == Animate3D::Animate3DState::FadeIn)
|
||||
s_fadeInAnimates.erase(sprite);
|
||||
else if (_state == Animate3D::Animate3DState::FadeOut)
|
||||
s_fadeOutAnimates.erase(sprite);
|
||||
else
|
||||
s_runningAnimates.erase(sprite);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue