diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs index d530147..e6def85 100644 --- a/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs +++ b/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs | |||
@@ -46,20 +46,20 @@ namespace OpenSim.ApplicationPlugins.ScriptEngine | |||
46 | return; | 46 | return; |
47 | // New region is being created | 47 | // New region is being created |
48 | // Create a new script engine | 48 | // Create a new script engine |
49 | try | 49 | // try |
50 | { | 50 | // { |
51 | lock (ComponentRegistry.scriptEngines) | 51 | // lock (ComponentRegistry.scriptEngines) |
52 | { | 52 | // { |
53 | scriptEngine = | 53 | // scriptEngine = |
54 | Activator.CreateInstance(ComponentRegistry.scriptEngines[tempScriptEngineName]) as | 54 | // Activator.CreateInstance(ComponentRegistry.scriptEngines[tempScriptEngineName]) as |
55 | RegionScriptEngineBase; | 55 | // RegionScriptEngineBase; |
56 | } | 56 | // } |
57 | scriptEngine.Initialize(scene, source); | 57 | // scriptEngine.Initialize(scene, source); |
58 | } | 58 | // } |
59 | catch (Exception ex) | 59 | // catch (Exception ex) |
60 | { | 60 | // { |
61 | scriptEngine.m_log.Error("[ScriptEngine]: Unable to load engine \"" + tempScriptEngineName + "\": " + ex.ToString()); | 61 | // scriptEngine.m_log.Error("[ScriptEngine]: Unable to load engine \"" + tempScriptEngineName + "\": " + ex.ToString()); |
62 | } | 62 | // } |
63 | } | 63 | } |
64 | 64 | ||
65 | public void PostInitialise() | 65 | public void PostInitialise() |