add full delete if uuid iz zero and state is ALL

avinationmerge
UbitUmarov 2014-09-09 19:09:06 +01:00
parent 46abe0c86d
commit 002a2deaf9
1 changed files with 4 additions and 1 deletions

View File

@ -57,7 +57,10 @@ namespace OpenSim.Region.Framework.Scenes
{ {
if (animID == UUID.Zero) if (animID == UUID.Zero)
{ {
m_overrides.Remove(state); if (state == "ALL")
m_overrides.Clear();
else
m_overrides.Remove(state);
return; return;
} }