mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 05:52:35 +02:00
Fix missing hack
Matches hack in stopScript().
This commit is contained in:
parent
17f7d76025
commit
2a00586e21
1 changed files with 1 additions and 0 deletions
|
@ -4383,6 +4383,7 @@ void Application::stopAllScripts(bool restart) {
|
||||||
// HACK: ATM scripts cannot set/get their animation priorities, so we clear priorities
|
// 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.
|
// 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.
|
// TODO: expose animation priorities and provide a layered animation control system.
|
||||||
|
_myAvatar->clearJointAnimationPriorities();
|
||||||
_myAvatar->clearScriptableSettings();
|
_myAvatar->clearScriptableSettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue