Matches hack in stopScript().
Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -4383,6 +4383,7 @@ void Application::stopAllScripts(bool restart) { · 4382 unmodified lines | |||
| 4383 | // HACK: ATM scripts cannot set/get their animation priorities, so we clear priorities | 4383 | // HACK: ATM scripts cannot set/get their animation priorities, so we clear priorities |
| 4384 | // whenever a script stops in case it happened to have been setting joint rotations. | 4384 | // whenever a script stops in case it happened to have been setting joint rotations. |
| 4385 | // TODO: expose animation priorities and provide a layered animation control system. | 4385 | // TODO: expose animation priorities and provide a layered animation control system. |
| 4386 | _myAvatar->clearJointAnimationPriorities(); | ||
| 4386 | _myAvatar->clearScriptableSettings(); | 4387 | _myAvatar->clearScriptableSettings(); |
| 4387 | } | 4388 | } |
| 4388 | 4389 | ||