diff options
author | Melanie | 2012-02-23 14:08:35 +0100 |
---|---|---|
committer | Melanie | 2012-02-23 14:08:35 +0100 |
commit | dc835717d66678eddfd802717a068c6131e460fc (patch) | |
tree | 82a8ce6b5bccda6e959fcd541cf81a67f7ba8c17 /OpenSim/Region/ClientStack | |
parent | Merge branch 'ubitwork' (diff) | |
download | opensim-SC_OLD-dc835717d66678eddfd802717a068c6131e460fc.zip opensim-SC_OLD-dc835717d66678eddfd802717a068c6131e460fc.tar.gz opensim-SC_OLD-dc835717d66678eddfd802717a068c6131e460fc.tar.bz2 opensim-SC_OLD-dc835717d66678eddfd802717a068c6131e460fc.tar.xz |
Properly sequence updates of avatars and attachments so that we don't
update attachments on child avatars or intermingle agent and attachment
updates, which would render the root prim of huds invisible
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 1ac3b76..2e86315 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3774,6 +3774,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3774 | // doesn't seem to be attached, skip | 3774 | // doesn't seem to be attached, skip |
3775 | if (!found) | 3775 | if (!found) |
3776 | continue; | 3776 | continue; |
3777 | |||
3778 | // On vehicle crossing, the attachments are received | ||
3779 | // while the avatar is still a child. Don't send | ||
3780 | // updates here because the LocalId has not yet | ||
3781 | // been updated and the viewer will derender the | ||
3782 | // attachments until the avatar becomes root. | ||
3783 | if (sp.IsChildAgent) | ||
3784 | continue; | ||
3777 | } | 3785 | } |
3778 | if (part.ParentGroup.IsAttachment && m_disableFacelights) | 3786 | if (part.ParentGroup.IsAttachment && m_disableFacelights) |
3779 | { | 3787 | { |