fix object animation updates when also moving
parent
25b4a310f5
commit
6684c35bb0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue