mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Clean up logging calls using String.Format explicitly
This commit is contained in:
@@ -245,7 +245,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
// Calculated separately to avoid errors
|
||||
cutHull.AddVertex(legEnd);
|
||||
|
||||
//m_log.Debug(String.Format("Starting cutting of the hollow shape from the prim {1}", 0, primName));
|
||||
//m_log.DebugFormat("Starting cutting of the hollow shape from the prim {1}", 0, primName);
|
||||
SimpleHull cuttedHull = SimpleHull.SubtractHull(outerHull, cutHull);
|
||||
|
||||
outerHull = cuttedHull;
|
||||
@@ -520,7 +520,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
// Calculated separately to avoid errors
|
||||
cutHull.AddVertex(legEnd);
|
||||
|
||||
m_log.Debug(String.Format("Starting cutting of the hollow shape from the prim {1}", 0, primName));
|
||||
m_log.DebugFormat("Starting cutting of the hollow shape from the prim {1}", 0, primName);
|
||||
SimpleHull cuttedHull = SimpleHull.SubtractHull(outerHull, cutHull);
|
||||
|
||||
outerHull = cuttedHull;
|
||||
|
||||
@@ -246,8 +246,8 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
bool intersects = false;
|
||||
|
||||
//m_log.Debug("State before intersection detection");
|
||||
//m_log.Debug(String.Format("The baseHull is:\n{1}", 0, baseHullClone.ToString()));
|
||||
//m_log.Debug(String.Format("The otherHull is:\n{1}", 0, otherHullClone.ToString()));
|
||||
//m_log.DebugFormat("The baseHull is:\n{1}", 0, baseHullClone.ToString());
|
||||
//m_log.DebugFormat("The otherHull is:\n{1}", 0, otherHullClone.ToString());
|
||||
|
||||
{
|
||||
int iBase, iOther;
|
||||
@@ -277,7 +277,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
}
|
||||
|
||||
//m_log.Debug("State after intersection detection for the base hull");
|
||||
//m_log.Debug(String.Format("The baseHull is:\n{1}", 0, baseHullClone.ToString()));
|
||||
//m_log.DebugFormat("The baseHull is:\n{1}", 0, baseHullClone.ToString());
|
||||
|
||||
{
|
||||
int iOther, iBase;
|
||||
@@ -306,7 +306,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
}
|
||||
|
||||
//m_log.Debug("State after intersection detection for the base hull");
|
||||
//m_log.Debug(String.Format("The otherHull is:\n{1}", 0, otherHullClone.ToString()));
|
||||
//m_log.DebugFormat("The otherHull is:\n{1}", 0, otherHullClone.ToString());
|
||||
|
||||
|
||||
bool otherIsInBase = baseHullClone.containsPointsFrom(otherHullClone);
|
||||
@@ -389,7 +389,7 @@ namespace OpenSim.Region.Physics.Meshing
|
||||
done = true;
|
||||
}
|
||||
|
||||
//m_log.Debug(String.Format("The resulting Hull is:\n{1}", 0, result.ToString()));
|
||||
//m_log.DebugFormat("The resulting Hull is:\n{1}", 0, result.ToString());
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user