aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMelanie2011-10-11 23:08:07 +0100
committerMelanie2011-10-11 23:08:07 +0100
commita157fdedcfa7078c5bcf696f5c7f91aeb8835233 (patch)
tree742a1eccae60ace95a94161ec51b07992f582b2e /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentMerge commit '8caf3ed49ec3403843e25db018cc9db63e2ca643' into bigmerge (diff)
parentFix for rezzing and derezzing HUDs (see Mantis #5406). From now on updates ar... (diff)
downloadopensim-SC_OLD-a157fdedcfa7078c5bcf696f5c7f91aeb8835233.zip
opensim-SC_OLD-a157fdedcfa7078c5bcf696f5c7f91aeb8835233.tar.gz
opensim-SC_OLD-a157fdedcfa7078c5bcf696f5c7f91aeb8835233.tar.bz2
opensim-SC_OLD-a157fdedcfa7078c5bcf696f5c7f91aeb8835233.tar.xz
Merge commit '2b2580e3a12d5c493f9a77bf9435ca32a0a0355c' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index e6ec741..9364b54 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3053,6 +3053,10 @@ namespace OpenSim.Region.Framework.Scenes
3053 if (ParentGroup.IsDeleted) 3053 if (ParentGroup.IsDeleted)
3054 return; 3054 return;
3055 3055
3056 if (ParentGroup.IsAttachment && (ParentGroup.AttachedAvatar != remoteClient.AgentId) &&
3057 (ParentGroup.AttachmentPoint >= 31) && (ParentGroup.AttachmentPoint <= 38))
3058 return;
3059
3056 clientFlags &= ~(uint) PrimFlags.CreateSelected; 3060 clientFlags &= ~(uint) PrimFlags.CreateSelected;
3057 3061
3058 if (remoteClient.AgentId == _ownerID) 3062 if (remoteClient.AgentId == _ownerID)
@@ -4842,7 +4846,8 @@ namespace OpenSim.Region.Framework.Scenes
4842 if (ParentGroup.IsDeleted) 4846 if (ParentGroup.IsDeleted)
4843 return; 4847 return;
4844 4848
4845 if (ParentGroup.IsAttachment && ParentGroup.RootPart != this) 4849 if (ParentGroup.IsAttachment && ((ParentGroup.RootPart != this) ||
4850 ((ParentGroup.AttachedAvatar != remoteClient.AgentId) && (ParentGroup.AttachmentPoint >= 31) && (ParentGroup.AttachmentPoint <= 38))))
4846 return; 4851 return;
4847 4852
4848 // Causes this thread to dig into the Client Thread Data. 4853 // Causes this thread to dig into the Client Thread Data.