aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorUbitUmarov2014-09-09 19:09:06 +0100
committerUbitUmarov2014-09-09 19:09:06 +0100
commit002a2deaf9e5003075756d91cfaa95763ca60aea (patch)
tree113d28fdc5bb2b482d14a1e8a4df4ba6fda0493f /OpenSim/Region/Framework
parentMerge branch 'master' into ubitworkmaster (diff)
downloadopensim-SC-002a2deaf9e5003075756d91cfaa95763ca60aea.zip
opensim-SC-002a2deaf9e5003075756d91cfaa95763ca60aea.tar.gz
opensim-SC-002a2deaf9e5003075756d91cfaa95763ca60aea.tar.bz2
opensim-SC-002a2deaf9e5003075756d91cfaa95763ca60aea.tar.xz
add full delete if uuid iz zero and state is ALL
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Animation/MovementAnimationOverrides.cs5
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