aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-09-21 20:56:39 +0000
committerJustin Clarke Casey2008-09-21 20:56:39 +0000
commit451bd5a0ca87987759d82df681b66da499d41191 (patch)
treed7eb0c0c4ddb835bb76317c6891e12c60c8ef864 /OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs
parentMantis#2233. Thank you kindly, Idb, for a patch that solves: (diff)
downloadopensim-SC_OLD-451bd5a0ca87987759d82df681b66da499d41191.zip
opensim-SC_OLD-451bd5a0ca87987759d82df681b66da499d41191.tar.gz
opensim-SC_OLD-451bd5a0ca87987759d82df681b66da499d41191.tar.bz2
opensim-SC_OLD-451bd5a0ca87987759d82df681b66da499d41191.tar.xz
* minor: warnings removal
Diffstat (limited to 'OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/ScriptEngine/RegionScriptEnginePlugin.cs28
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()