Fix missing hack

Matches hack in stopScript().
This commit is contained in:
David Rowe 2015-06-15 10:30:30 -07:00
parent 17f7d76025
commit 2a00586e21

View file

@ -4383,6 +4383,7 @@ void Application::stopAllScripts(bool restart) {
// HACK: ATM scripts cannot set/get their animation priorities, so we clear priorities
// whenever a script stops in case it happened to have been setting joint rotations.
// TODO: expose animation priorities and provide a layered animation control system.
_myAvatar->clearJointAnimationPriorities();
_myAvatar->clearScriptableSettings();
}