aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorTom2010-08-06 02:43:26 -0700
committerTom2010-08-06 02:43:26 -0700
commit0a004f8c449ffc07b806ef2076306f624d0d4b6e (patch)
tree380c340e5b80a82520d3f875c31988c266d8f168 /OpenSim/Region/Framework
parentImplement CHANGED_REGION_(RE)START and also fix various CHANGED_* constants w... (diff)
parentPrevent users from becoming stuck online. This affects only 0.7 (diff)
downloadopensim-SC_OLD-0a004f8c449ffc07b806ef2076306f624d0d4b6e.zip
opensim-SC_OLD-0a004f8c449ffc07b806ef2076306f624d0d4b6e.tar.gz
opensim-SC_OLD-0a004f8c449ffc07b806ef2076306f624d0d4b6e.tar.bz2
opensim-SC_OLD-0a004f8c449ffc07b806ef2076306f624d0d4b6e.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index a0fabff..ba84b88 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -3044,6 +3044,15 @@ namespace OpenSim.Region.Framework.Scenes
3044 UUID ownerID = _ownerID; 3044 UUID ownerID = _ownerID;
3045 UUID objectID = UUID; 3045 UUID objectID = UUID;
3046 UUID parentID = GetRootPartUUID(); 3046 UUID parentID = GetRootPartUUID();
3047
3048 if (ParentGroup.IsAttachment && ParentGroup.RootPart.Shape.State > 30)
3049 {
3050 // Use the avatar as the parent for HUDs, since the prims
3051 // are not sent to other avatars
3052 objectID = _ownerID;
3053 parentID = _ownerID;
3054 }
3055
3047 UUID soundID = UUID.Zero; 3056 UUID soundID = UUID.Zero;
3048 Vector3 position = AbsolutePosition; // region local 3057 Vector3 position = AbsolutePosition; // region local
3049 ulong regionHandle = m_parentGroup.Scene.RegionInfo.RegionHandle; 3058 ulong regionHandle = m_parentGroup.Scene.RegionInfo.RegionHandle;