mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
Make sure active groups are updated after a state is auto-disabled
This commit is contained in:
parent
2c556e4036
commit
3988866ecd
@ -664,7 +664,10 @@ Ogre::Vector3 Animation::runAnimation(float duration)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!state.mPlaying && state.mAutoDisable)
|
if(!state.mPlaying && state.mAutoDisable)
|
||||||
|
{
|
||||||
mStates.erase(stateiter++);
|
mStates.erase(stateiter++);
|
||||||
|
resetActiveGroups();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
stateiter++;
|
stateiter++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user