diff options
author | Justin Clark-Casey (justincc) | 2011-10-28 23:43:31 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-28 23:43:31 +0100 |
commit | c2da1c4580302a3f1a30b7ad2e70f590aff76167 (patch) | |
tree | 449cd3ab509bebfdbf02f42567686b223474ee3e /OpenSim/Region/Framework/Scenes | |
parent | Add missing doc to rotation/position methods in SOG (diff) | |
download | opensim-SC_OLD-c2da1c4580302a3f1a30b7ad2e70f590aff76167.zip opensim-SC_OLD-c2da1c4580302a3f1a30b7ad2e70f590aff76167.tar.gz opensim-SC_OLD-c2da1c4580302a3f1a30b7ad2e70f590aff76167.tar.bz2 opensim-SC_OLD-c2da1c4580302a3f1a30b7ad2e70f590aff76167.tar.xz |
set grp.RootPart.GroupPosition for code consistency (and readability) rather than calling SOP.OffsetForNewRegion
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index f6d3293..64810d2 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2798,11 +2798,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
2798 | ScheduleGroupForTerseUpdate(); | 2798 | ScheduleGroupForTerseUpdate(); |
2799 | } | 2799 | } |
2800 | 2800 | ||
2801 | public void OffsetForNewRegion(Vector3 offset) | ||
2802 | { | ||
2803 | m_rootPart.GroupPosition = offset; | ||
2804 | } | ||
2805 | |||
2806 | #endregion | 2801 | #endregion |
2807 | 2802 | ||
2808 | #region Rotation | 2803 | #region Rotation |