From 343239c7c395bf81cd07057bd89a846d81d263a7 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 9 Mar 2019 12:04:26 +0000 Subject: [PATCH] do not send animated attachments to viewers that do not support them. --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 5353194d18..ecae8c8c58 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs @@ -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;