diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 1170f80..9e0bc09 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -191,8 +191,8 @@ namespace OpenSim | |||
191 | MainLog.Instance.Verbose("Loading Shared Modules"); | 191 | MainLog.Instance.Verbose("Loading Shared Modules"); |
192 | m_moduleLoader.LoadDefaultSharedModules(m_exceptSharedModules); | 192 | m_moduleLoader.LoadDefaultSharedModules(m_exceptSharedModules); |
193 | 193 | ||
194 | // Load all script engines found | 194 | // Load all script engines found (scripting engine is now a IRegionModule so loaded in the module loader |
195 | OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineLoader ScriptEngineLoader = new OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineLoader(m_log); | 195 | // OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineLoader ScriptEngineLoader = new OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineLoader(m_log); |
196 | 196 | ||
197 | for (int i = 0; i < configFiles.Length; i++) | 197 | for (int i = 0; i < configFiles.Length; i++) |
198 | { | 198 | { |
@@ -209,11 +209,11 @@ namespace OpenSim | |||
209 | scene.SetModuleInterfaces(); | 209 | scene.SetModuleInterfaces(); |
210 | 210 | ||
211 | // Check if we have a script engine to load | 211 | // Check if we have a script engine to load |
212 | if (m_scriptEngine != null && m_scriptEngine != "") | 212 | //if (m_scriptEngine != null && m_scriptEngine != "") |
213 | { | 213 | //{ |
214 | OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface ScriptEngine = ScriptEngineLoader.LoadScriptEngine(m_scriptEngine); | 214 | // OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface ScriptEngine = ScriptEngineLoader.LoadScriptEngine(m_scriptEngine); |
215 | scene.AddScriptEngine(ScriptEngine, m_log); | 215 | // scene.AddScriptEngine(ScriptEngine, m_log); |
216 | } | 216 | //} |
217 | 217 | ||
218 | //Server side object editing permissions checking | 218 | //Server side object editing permissions checking |
219 | if (m_permissions) | 219 | if (m_permissions) |
@@ -371,7 +371,7 @@ namespace OpenSim | |||
371 | /// <param name="cmdparams">Additional arguments passed to the command</param> | 371 | /// <param name="cmdparams">Additional arguments passed to the command</param> |
372 | public void RunCmd(string command, string[] cmdparams) | 372 | public void RunCmd(string command, string[] cmdparams) |
373 | { | 373 | { |
374 | if ((m_consoleRegion == null) || (command == "change-region") || (command == "shutdown")) | 374 | if ((m_consoleRegion == null) || (command == "change-region") || (command == "shutdown")) |
375 | { | 375 | { |
376 | switch (command) | 376 | switch (command) |
377 | { | 377 | { |
@@ -603,7 +603,7 @@ namespace OpenSim | |||
603 | string result = ""; | 603 | string result = ""; |
604 | for (int i = pos; i < commandParams.Length; i++) | 604 | for (int i = pos; i < commandParams.Length; i++) |
605 | { | 605 | { |
606 | result += commandParams[i] +" "; | 606 | result += commandParams[i] + " "; |
607 | } | 607 | } |
608 | result = result.TrimEnd(' '); | 608 | result = result.TrimEnd(' '); |
609 | return result; | 609 | return result; |