diff options
author | UbitUmarov | 2019-03-09 12:04:26 +0000 |
---|---|---|
committer | UbitUmarov | 2019-03-09 12:04:26 +0000 |
commit | 343239c7c395bf81cd07057bd89a846d81d263a7 (patch) | |
tree | 5d955ef79feef155de7cdc80c282f123455fbc78 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | ooops bad zeroencode flag (diff) | |
download | opensim-SC-343239c7c395bf81cd07057bd89a846d81d263a7.zip opensim-SC-343239c7c395bf81cd07057bd89a846d81d263a7.tar.gz opensim-SC-343239c7c395bf81cd07057bd89a846d81d263a7.tar.bz2 opensim-SC-343239c7c395bf81cd07057bd89a846d81d263a7.tar.xz |
do not send animated attachments to viewers that do not support them.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 5353194..ecae8c8 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 | |||
4285 | } | 4285 | } |
4286 | 4286 | ||
4287 | if (grp.IsAttachment) | 4287 | if (grp.IsAttachment) |
4288 | { // Someone else's HUD, why are we getting these? | 4288 | { |
4289 | // animated attachments are nasty if not supported by viewer | ||
4290 | if(!m_SupportObjectAnimations && grp.RootPart.Shape.MeshFlagEntry) | ||
4291 | continue; | ||
4292 | |||
4293 | // Someone else's HUD, why are we getting these? | ||
4289 | if (grp.OwnerID != AgentId && grp.HasPrivateAttachmentPoint) | 4294 | if (grp.OwnerID != AgentId && grp.HasPrivateAttachmentPoint) |
4290 | continue; | 4295 | continue; |
4291 | 4296 | ||