aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs
index 12d26fc..641453e 100644
--- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs
@@ -295,18 +295,20 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
295 /// <param name="args">Arguments to pass to function</param> 295 /// <param name="args">Arguments to pass to function</param>
296 internal void ExecuteEvent(uint localID, LLUUID itemID, string FunctionName, EventQueueManager.Queue_llDetectParams_Struct qParams, object[] args) 296 internal void ExecuteEvent(uint localID, LLUUID itemID, string FunctionName, EventQueueManager.Queue_llDetectParams_Struct qParams, object[] args)
297 { 297 {
298#if DEBUG 298//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
299 Console.WriteLine("ScriptEngine: Inside ExecuteEvent for event " + FunctionName); 299///#if DEBUG
300#endif 300/// Console.WriteLine("ScriptEngine: Inside ExecuteEvent for event " + FunctionName);
301///#endif
301 // Execute a function in the script 302 // Execute a function in the script
302 //m_scriptEngine.Log.Info("[" + ScriptEngineName + "]: Executing Function localID: " + localID + ", itemID: " + itemID + ", FunctionName: " + FunctionName); 303 //m_scriptEngine.Log.Info("[" + ScriptEngineName + "]: Executing Function localID: " + localID + ", itemID: " + itemID + ", FunctionName: " + FunctionName);
303 //ScriptBaseInterface Script = (ScriptBaseInterface)GetScript(localID, itemID); 304 //ScriptBaseInterface Script = (ScriptBaseInterface)GetScript(localID, itemID);
304 IScript Script = GetScript(localID, itemID); 305 IScript Script = GetScript(localID, itemID);
305 if (Script == null) 306 if (Script == null)
306 return; 307 return;
307#if DEBUG 308//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
308 Console.WriteLine("ScriptEngine: Executing event: " + FunctionName); 309///#if DEBUG
309#endif 310/// Console.WriteLine("ScriptEngine: Executing event: " + FunctionName);
311///#endif
310 // Must be done in correct AppDomain, so leaving it up to the script itself 312 // Must be done in correct AppDomain, so leaving it up to the script itself
311 Script.llDetectParams = qParams; 313 Script.llDetectParams = qParams;
312 Script.Exec.ExecuteEvent(FunctionName, args); 314 Script.Exec.ExecuteEvent(FunctionName, args);