aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index 4b086d8..05a2d06 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -66,14 +66,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
66 66
67 // We will initialize and start the script. 67 // We will initialize and start the script.
68 // It will be up to the script itself to hook up the correct events. 68 // It will be up to the script itself to hook up the correct events.
69 string ScriptSource = String.Empty; 69 string CompiledScriptFile = String.Empty;
70 70
71 SceneObjectPart m_host = World.GetSceneObjectPart(localID); 71 SceneObjectPart m_host = World.GetSceneObjectPart(localID);
72 72
73 try 73 try
74 { 74 {
75 // Compile (We assume LSL) 75 // Compile (We assume LSL)
76 ScriptSource = LSLCompiler.PerformScriptCompile(Script); 76 CompiledScriptFile = LSLCompiler.PerformScriptCompile(Script);
77 77
78//#if DEBUG 78//#if DEBUG
79 //long before; 79 //long before;
@@ -81,7 +81,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
81//#endif 81//#endif
82 82
83 IScript CompiledScript; 83 IScript CompiledScript;
84 CompiledScript = m_scriptEngine.m_AppDomainManager.LoadScript(ScriptSource); 84 CompiledScript = m_scriptEngine.m_AppDomainManager.LoadScript(CompiledScriptFile);
85 85
86//#if DEBUG 86//#if DEBUG
87 //m_scriptEngine.Log.DebugFormat("[" + m_scriptEngine.ScriptEngineName + "]: Script " + itemID + " occupies {0} bytes", GC.GetTotalMemory(true) - before); 87 //m_scriptEngine.Log.DebugFormat("[" + m_scriptEngine.ScriptEngineName + "]: Script " + itemID + " occupies {0} bytes", GC.GetTotalMemory(true) - before);