diff options
author | Justin Clark-Casey (justincc) | 2013-11-29 02:48:59 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-11-29 02:48:59 +0000 |
commit | 5f0e763062d347f188e01ad5febc1bd59e32b367 (patch) | |
tree | 70f12aa51206ccf48e0029bd88477345910a9d2b /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Comment out debug sit message accidently left active (diff) | |
download | opensim-SC_OLD-5f0e763062d347f188e01ad5febc1bd59e32b367.zip opensim-SC_OLD-5f0e763062d347f188e01ad5febc1bd59e32b367.tar.gz opensim-SC_OLD-5f0e763062d347f188e01ad5febc1bd59e32b367.tar.bz2 opensim-SC_OLD-5f0e763062d347f188e01ad5febc1bd59e32b367.tar.xz |
Remove unused sp.ParentPosition, which has not been used for some time
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index dcbb509..ea9d0d8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -789,16 +789,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
789 | m_log.ErrorFormat("[SCENEOBJECTPART]: GROUP POSITION. {0}", e); | 789 | m_log.ErrorFormat("[SCENEOBJECTPART]: GROUP POSITION. {0}", e); |
790 | } | 790 | } |
791 | } | 791 | } |
792 | |||
793 | // TODO if we decide to do sitting in a more SL compatible way (multiple avatars per prim), this has to be fixed, too | ||
794 | if (SitTargetAvatar != UUID.Zero) | ||
795 | { | ||
796 | ScenePresence avatar; | ||
797 | if (ParentGroup.Scene.TryGetScenePresence(SitTargetAvatar, out avatar)) | ||
798 | { | ||
799 | avatar.ParentPosition = GetWorldPosition(); | ||
800 | } | ||
801 | } | ||
802 | } | 792 | } |
803 | } | 793 | } |
804 | 794 | ||