Make timer events from scripts a little less chatty.

DEBUG is defined by default in the Linux build.
This commit is contained in:
Charles Krinke
2008-02-08 01:42:56 +00:00
parent 121789f54a
commit 2fb541cb2a
2 changed files with 16 additions and 12 deletions

View File

@@ -82,9 +82,10 @@ namespace OpenSim.Region.ScriptEngine.Common
string EventName = m_Script.State() + "_event_" + FunctionName;
#if DEBUG
Console.WriteLine("ScriptEngine: Script event function name: " + EventName);
#endif
//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
///#if DEBUG
/// Console.WriteLine("ScriptEngine: Script event function name: " + EventName);
///#endif
//type.InvokeMember(EventName, BindingFlags.InvokeMethod, null, m_Script, args);
@@ -116,9 +117,10 @@ namespace OpenSim.Region.ScriptEngine.Common
return;
}
#if DEBUG
Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
#endif
//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
///#if DEBUG
/// Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
///#endif
// Found
//try
//{