aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index d7435c6..89b98af 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -776,7 +776,7 @@ namespace OpenSim.Region.Framework.Scenes
776 List<ScenePresence> avs = ParentGroup.GetLinkedAvatars(); 776 List<ScenePresence> avs = ParentGroup.GetLinkedAvatars();
777 foreach (ScenePresence av in avs) 777 foreach (ScenePresence av in avs)
778 { 778 {
779 if (av.LinkedPrim == m_uuid) 779 if (av.ParentID == m_localId)
780 { 780 {
781 Vector3 offset = (m_offsetPosition - oldpos); 781 Vector3 offset = (m_offsetPosition - oldpos);
782 av.AbsolutePosition += offset; 782 av.AbsolutePosition += offset;
@@ -1260,14 +1260,12 @@ namespace OpenSim.Region.Framework.Scenes
1260 set { m_occupied = value; } 1260 set { m_occupied = value; }
1261 } 1261 }
1262 1262
1263
1264 public UUID SitTargetAvatar 1263 public UUID SitTargetAvatar
1265 { 1264 {
1266 get { return m_sitTargetAvatar; } 1265 get { return m_sitTargetAvatar; }
1267 set { m_sitTargetAvatar = value; } 1266 set { m_sitTargetAvatar = value; }
1268 } 1267 }
1269 1268
1270
1271 public virtual UUID RegionID 1269 public virtual UUID RegionID
1272 { 1270 {
1273 get 1271 get