do not send animated attachments to viewers that do not support them.

This commit is contained in:
UbitUmarov
2019-03-09 12:04:26 +00:00
parent 6bc37f348e
commit 343239c7c3

View File

@@ -4285,7 +4285,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
if (grp.IsAttachment)
{ // Someone else's HUD, why are we getting these?
{
// animated attachments are nasty if not supported by viewer
if(!m_SupportObjectAnimations && grp.RootPart.Shape.MeshFlagEntry)
continue;
// Someone else's HUD, why are we getting these?
if (grp.OwnerID != AgentId && grp.HasPrivateAttachmentPoint)
continue;