diff options
author | Justin Clark-Casey (justincc) | 2011-07-19 05:14:58 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-07-19 05:14:58 +0100 |
commit | 62325829ecab7d956416ff0450faa3f90f267e6c (patch) | |
tree | 1e7e11a8c574c6c42bc5beb84270c94e58c251ab /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Fix undo for rotation of the root prim in a linkset on its own. (diff) | |
download | opensim-SC_OLD-62325829ecab7d956416ff0450faa3f90f267e6c.zip opensim-SC_OLD-62325829ecab7d956416ff0450faa3f90f267e6c.tar.gz opensim-SC_OLD-62325829ecab7d956416ff0450faa3f90f267e6c.tar.bz2 opensim-SC_OLD-62325829ecab7d956416ff0450faa3f90f267e6c.tar.xz |
comment out all kinds of debugging guff
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index d653e66..0eaed91 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3015,9 +3015,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3015 | /// <param name="rot"></param> | 3015 | /// <param name="rot"></param> |
3016 | public void UpdateRootRotation(Quaternion rot) | 3016 | public void UpdateRootRotation(Quaternion rot) |
3017 | { | 3017 | { |
3018 | m_log.DebugFormat( | 3018 | // m_log.DebugFormat( |
3019 | "[SCENE OBJECT GROUP]: Updating root rotation of {0} {1} to {2}", | 3019 | // "[SCENE OBJECT GROUP]: Updating root rotation of {0} {1} to {2}", |
3020 | Name, LocalId, rot); | 3020 | // Name, LocalId, rot); |
3021 | 3021 | ||
3022 | Quaternion axRot = rot; | 3022 | Quaternion axRot = rot; |
3023 | Quaternion oldParentRot = m_rootPart.RotationOffset; | 3023 | Quaternion oldParentRot = m_rootPart.RotationOffset; |
@@ -3050,21 +3050,21 @@ namespace OpenSim.Region.Framework.Scenes | |||
3050 | } | 3050 | } |
3051 | } | 3051 | } |
3052 | 3052 | ||
3053 | for (int i = 0; i < parts.Length; i++) | 3053 | // for (int i = 0; i < parts.Length; i++) |
3054 | { | 3054 | // { |
3055 | SceneObjectPart childpart = parts[i]; | 3055 | // SceneObjectPart childpart = parts[i]; |
3056 | if (childpart != m_rootPart) | 3056 | // if (childpart != m_rootPart) |
3057 | { | 3057 | // { |
3058 | // childpart.IgnoreUndoUpdate = false; | 3058 | //// childpart.IgnoreUndoUpdate = false; |
3059 | // childpart.StoreUndoState(); | 3059 | //// childpart.StoreUndoState(); |
3060 | } | 3060 | // } |
3061 | } | 3061 | // } |
3062 | 3062 | ||
3063 | m_rootPart.ScheduleTerseUpdate(); | 3063 | m_rootPart.ScheduleTerseUpdate(); |
3064 | 3064 | ||
3065 | m_log.DebugFormat( | 3065 | // m_log.DebugFormat( |
3066 | "[SCENE OBJECT GROUP]: Updated root rotation of {0} {1} to {2}", | 3066 | // "[SCENE OBJECT GROUP]: Updated root rotation of {0} {1} to {2}", |
3067 | Name, LocalId, rot); | 3067 | // Name, LocalId, rot); |
3068 | } | 3068 | } |
3069 | 3069 | ||
3070 | #endregion | 3070 | #endregion |