From 002a2deaf9e5003075756d91cfaa95763ca60aea Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 9 Sep 2014 19:09:06 +0100 Subject: add full delete if uuid iz zero and state is ALL --- .../Region/Framework/Scenes/Animation/MovementAnimationOverrides.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes') 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 { if (animID == UUID.Zero) { - m_overrides.Remove(state); + if (state == "ALL") + m_overrides.Clear(); + else + m_overrides.Remove(state); return; } -- cgit v1.1