minor: save some commented out log lines which will be useful again in future debugging of VectorRenderModule

0.7.4-extended
Justin Clark-Casey (justincc) 2013-03-13 00:46:17 +00:00
parent 7af13bcca3
commit 2fd9456f4f
1 changed files with 5 additions and 0 deletions

View File

@ -504,6 +504,9 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
foreach (string line in GetLines(data, dataDelim)) foreach (string line in GetLines(data, dataDelim))
{ {
string nextLine = line.Trim(); string nextLine = line.Trim();
// m_log.DebugFormat("[VECTOR RENDER MODULE]: Processing line '{0}'", nextLine);
//replace with switch, or even better, do some proper parsing //replace with switch, or even better, do some proper parsing
if (nextLine.StartsWith("MoveTo")) if (nextLine.StartsWith("MoveTo"))
{ {
@ -817,6 +820,8 @@ namespace OpenSim.Region.CoreModules.Scripting.VectorRender
float y = Convert.ToSingle(yVal, CultureInfo.InvariantCulture); float y = Convert.ToSingle(yVal, CultureInfo.InvariantCulture);
PointF point = new PointF(x, y); PointF point = new PointF(x, y);
points[i / 2] = point; points[i / 2] = point;
// m_log.DebugFormat("[VECTOR RENDER MODULE]: Got point {0}", points[i / 2]);
} }
} }
} }