Remove unused sp.ParentPosition, which has not been used for some time

This commit is contained in:
Justin Clark-Casey (justincc)
2013-11-29 02:48:59 +00:00
parent 84bfde3bdf
commit 5f0e763062
2 changed files with 2 additions and 21 deletions

View File

@@ -789,16 +789,6 @@ namespace OpenSim.Region.Framework.Scenes
m_log.ErrorFormat("[SCENEOBJECTPART]: GROUP POSITION. {0}", e);
}
}
// TODO if we decide to do sitting in a more SL compatible way (multiple avatars per prim), this has to be fixed, too
if (SitTargetAvatar != UUID.Zero)
{
ScenePresence avatar;
if (ParentGroup.Scene.TryGetScenePresence(SitTargetAvatar, out avatar))
{
avatar.ParentPosition = GetWorldPosition();
}
}
}
}