diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Animation/MovementAnimationOverrides.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Animation/MovementAnimationOverrides.cs b/OpenSim/Region/Framework/Scenes/Animation/MovementAnimationOverrides.cs index f77d29a..db4003e 100644 --- a/OpenSim/Region/Framework/Scenes/Animation/MovementAnimationOverrides.cs +++ b/OpenSim/Region/Framework/Scenes/Animation/MovementAnimationOverrides.cs | |||
@@ -57,7 +57,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
57 | { | 57 | { |
58 | if (animID == UUID.Zero) | 58 | if (animID == UUID.Zero) |
59 | { | 59 | { |
60 | m_overrides.Remove(state); | 60 | if (state == "ALL") |
61 | m_overrides.Clear(); | ||
62 | else | ||
63 | m_overrides.Remove(state); | ||
61 | return; | 64 | return; |
62 | } | 65 | } |
63 | 66 | ||