fix object animation updates when also moving

master
UbitUmarov 2020-03-03 22:25:24 +00:00
parent 25b4a310f5
commit 6684c35bb0
1 changed files with 1 additions and 2 deletions

View File

@ -5006,7 +5006,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
continue; continue;
} }
if (updateFlags == PrimUpdateFlags.Animations) if (updateFlags.HasFlag(PrimUpdateFlags.Animations))
{ {
if (m_SupportObjectAnimations && part.Animations != null) if (m_SupportObjectAnimations && part.Animations != null)
{ {
@ -5015,7 +5015,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
ObjectAnimationUpdates.Add(part); ObjectAnimationUpdates.Add(part);
maxUpdatesBytes -= 20 * part.Animations.Count + 24; maxUpdatesBytes -= 20 * part.Animations.Count + 24;
} }
continue;
} }
if(viewerCache) if(viewerCache)