mirror of
https://github.com/opensim/opensim.git
synced 2026-06-11 22:55:48 +08:00
Formatting cleanup.
This commit is contained in:
@@ -225,7 +225,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
// TODO: Let users in the sim and those entering it and possibly an external watchdog know what has happened
|
||||
m_log.ErrorFormat(
|
||||
"[{0}]: Event queue thread terminating with exception. PLEASE REBOOT YOUR SIM - SCRIPT EVENTS WILL NOT WORK UNTIL YOU DO. Exception is {1}",
|
||||
ScriptEngineName, e);
|
||||
ScriptEngineName, e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -418,7 +418,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
{
|
||||
InstanceData id = m_ScriptManager.GetScript(localID, itemID);
|
||||
if (id == null)
|
||||
return;
|
||||
return;
|
||||
|
||||
if (!id.Disabled)
|
||||
id.Running = true;
|
||||
@@ -428,7 +428,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
{
|
||||
InstanceData id = m_ScriptManager.GetScript(localID, itemID);
|
||||
if (id == null)
|
||||
return;
|
||||
return;
|
||||
|
||||
id.Running = false;
|
||||
}
|
||||
@@ -442,7 +442,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
|
||||
InstanceData id = m_ScriptManager.GetScript(localID, itemID);
|
||||
if (id == null)
|
||||
return;
|
||||
return;
|
||||
|
||||
IEventQueue eq = World.RequestModuleInterface<IEventQueue>();
|
||||
if (eq == null)
|
||||
|
||||
@@ -520,13 +520,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
ExeStage = 5; // ;^) Ewe Loon, for debuging
|
||||
}
|
||||
catch (Exception e) // ;^) Ewe Loon, From here down tis fix
|
||||
{
|
||||
{
|
||||
if ((ExeStage == 3)&&(qParams.Length>0))
|
||||
detparms.Remove(id);
|
||||
SceneObjectPart ob = m_scriptEngine.World.GetSceneObjectPart(localID);
|
||||
m_log.InfoFormat("[Script Error] ,{0},{1},@{2},{3},{4},{5}", ob.Name , FunctionName, ExeStage, e.Message, qParams.Length, detparms.Count);
|
||||
if (ExeStage != 2) throw e;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public uint GetLocalID(UUID itemID)
|
||||
|
||||
Reference in New Issue
Block a user