minor: If we are recompiling scripts in response to a ScriptStopStrategy config change (a rare situation), then explicitly log this for debug purposes.
parent
c3c05a8693
commit
d34ad345d5
|
@ -1349,7 +1349,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
// simulator session if the script halt strategy has been changed. Instead, we'll continue with
|
// simulator session if the script halt strategy has been changed. Instead, we'll continue with
|
||||||
// the existing DLL and the new one will be used in the next simulator session.
|
// the existing DLL and the new one will be used in the next simulator session.
|
||||||
if (recompile)
|
if (recompile)
|
||||||
|
{
|
||||||
|
m_log.DebugFormat(
|
||||||
|
"[XEngine]: Recompiling script {0}.{1}, item UUID {2}, prim UUID {3} @ {4}.{5} to switch it to {6} termination. Will be active on next restart.",
|
||||||
|
part.ParentGroup.RootPart.Name, item.Name, itemID, part.UUID,
|
||||||
|
part.ParentGroup.RootPart.AbsolutePosition, part.ParentGroup.Scene.Name,
|
||||||
|
m_coopTermination ? "co-op" : "abort");
|
||||||
|
|
||||||
m_Compiler.PerformScriptCompile(script, assetID.ToString(), item.OwnerID, true, out assemblyPath, out linemap);
|
m_Compiler.PerformScriptCompile(script, assetID.ToString(), item.OwnerID, true, out assemblyPath, out linemap);
|
||||||
|
}
|
||||||
|
|
||||||
instance = new ScriptInstance(this, part,
|
instance = new ScriptInstance(this, part,
|
||||||
item,
|
item,
|
||||||
|
|
Loading…
Reference in New Issue