aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/Executor.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-02-08 01:42:56 +0000
committerCharles Krinke2008-02-08 01:42:56 +0000
commit2fb541cb2a586bb7fd090fd79fe52c8ea437f316 (patch)
tree52a320c02e4327ae76b5d346b3dcc45bb10032d1 /OpenSim/Region/ScriptEngine/Common/Executor.cs
parent* Updated the readme for pCampBot with info from Fly-Man- (diff)
downloadopensim-SC_OLD-2fb541cb2a586bb7fd090fd79fe52c8ea437f316.zip
opensim-SC_OLD-2fb541cb2a586bb7fd090fd79fe52c8ea437f316.tar.gz
opensim-SC_OLD-2fb541cb2a586bb7fd090fd79fe52c8ea437f316.tar.bz2
opensim-SC_OLD-2fb541cb2a586bb7fd090fd79fe52c8ea437f316.tar.xz
Make timer events from scripts a little less chatty.
DEBUG is defined by default in the Linux build.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/Executor.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/Executor.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/Executor.cs b/OpenSim/Region/ScriptEngine/Common/Executor.cs
index df28d7d..f6d2b82 100644
--- a/OpenSim/Region/ScriptEngine/Common/Executor.cs
+++ b/OpenSim/Region/ScriptEngine/Common/Executor.cs
@@ -82,9 +82,10 @@ namespace OpenSim.Region.ScriptEngine.Common
82 82
83 string EventName = m_Script.State() + "_event_" + FunctionName; 83 string EventName = m_Script.State() + "_event_" + FunctionName;
84 84
85#if DEBUG 85//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
86 Console.WriteLine("ScriptEngine: Script event function name: " + EventName); 86///#if DEBUG
87#endif 87/// Console.WriteLine("ScriptEngine: Script event function name: " + EventName);
88///#endif
88 89
89 //type.InvokeMember(EventName, BindingFlags.InvokeMethod, null, m_Script, args); 90 //type.InvokeMember(EventName, BindingFlags.InvokeMethod, null, m_Script, args);
90 91
@@ -116,9 +117,10 @@ namespace OpenSim.Region.ScriptEngine.Common
116 return; 117 return;
117 } 118 }
118 119
119#if DEBUG 120//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
120 Console.WriteLine("ScriptEngine: Executing function name: " + EventName); 121///#if DEBUG
121#endif 122/// Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
123///#endif
122 // Found 124 // Found
123 //try 125 //try
124 //{ 126 //{