Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor: Make xengine debug message on script load a scripting loading …

…message instead.

This is more useful if compilation fails due to an uncatchable exception since we know what was being compiled.
  • Loading branch information...
commit 0860a0d856ee667bf20db074b778f2518c4d061c 1 parent 99e339d
@justincc justincc authored
Showing with 9 additions and 7 deletions.
  1. +9 −7 OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
View
16 OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -982,10 +982,12 @@ private bool DoOnRezScript(object[] parms)
return false;
}
- UUID assetID = item.AssetID;
+ m_log.DebugFormat(
+ "[XEngine] Loading script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5}",
+ part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID,
+ part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.RegionInfo.RegionName);
- //m_log.DebugFormat("[XEngine] Compiling script {0} ({1} on object {2})",
- // item.Name, itemID.ToString(), part.ParentGroup.RootPart.Name);
+ UUID assetID = item.AssetID;
ScenePresence presence = m_Scene.GetScenePresence(item.OwnerID);
@@ -1164,10 +1166,10 @@ private bool DoOnRezScript(object[] parms)
stateSource, m_MaxScriptQueue);
// if (DebugLevel >= 1)
- m_log.DebugFormat(
- "[XEngine] Loaded script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5}",
- part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID,
- part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.RegionInfo.RegionName);
+// m_log.DebugFormat(
+// "[XEngine] Loaded script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5}",
+// part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID,
+// part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.RegionInfo.RegionName);
if (presence != null)
{
Please sign in to comment.
Something went wrong with that request. Please try again.