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

0.9.1.0-post-fixes
UbitUmarov 2019-03-09 12:04:26 +00:00
parent 6bc37f348e
commit 343239c7c3
1 changed files with 6 additions and 1 deletions

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;