comment out all kinds of debugging guff

This commit is contained in:
Justin Clark-Casey (justincc)
2011-07-19 05:14:58 +01:00
parent 1fdb16f1cd
commit 62325829ec
4 changed files with 44 additions and 44 deletions

View File

@@ -3015,9 +3015,9 @@ namespace OpenSim.Region.Framework.Scenes
/// <param name="rot"></param>
public void UpdateRootRotation(Quaternion rot)
{
m_log.DebugFormat(
"[SCENE OBJECT GROUP]: Updating root rotation of {0} {1} to {2}",
Name, LocalId, rot);
// m_log.DebugFormat(
// "[SCENE OBJECT GROUP]: Updating root rotation of {0} {1} to {2}",
// Name, LocalId, rot);
Quaternion axRot = rot;
Quaternion oldParentRot = m_rootPart.RotationOffset;
@@ -3050,21 +3050,21 @@ namespace OpenSim.Region.Framework.Scenes
}
}
for (int i = 0; i < parts.Length; i++)
{
SceneObjectPart childpart = parts[i];
if (childpart != m_rootPart)
{
// childpart.IgnoreUndoUpdate = false;
// childpart.StoreUndoState();
}
}
// for (int i = 0; i < parts.Length; i++)
// {
// SceneObjectPart childpart = parts[i];
// if (childpart != m_rootPart)
// {
//// childpart.IgnoreUndoUpdate = false;
//// childpart.StoreUndoState();
// }
// }
m_rootPart.ScheduleTerseUpdate();
m_log.DebugFormat(
"[SCENE OBJECT GROUP]: Updated root rotation of {0} {1} to {2}",
Name, LocalId, rot);
// m_log.DebugFormat(
// "[SCENE OBJECT GROUP]: Updated root rotation of {0} {1} to {2}",
// Name, LocalId, rot);
}
#endregion