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.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 88bdf31..46eadee 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -680,7 +680,7 @@ namespace OpenSim.Region.Framework.Scenes
680 if (m_parentGroup != null) // TODO can there be a SOP without a SOG? 680 if (m_parentGroup != null) // TODO can there be a SOP without a SOG?
681 { 681 {
682 ScenePresence avatar; 682 ScenePresence avatar;
683 if (m_parentGroup.Scene.TryGetAvatar(m_sitTargetAvatar, out avatar)) 683 if (m_parentGroup.Scene.TryGetScenePresence(m_sitTargetAvatar, out avatar))
684 { 684 {
685 avatar.ParentPosition = GetWorldPosition(); 685 avatar.ParentPosition = GetWorldPosition();
686 } 686 }