diff options
author | MW | 2007-09-08 07:50:31 +0000 |
---|---|---|
committer | MW | 2007-09-08 07:50:31 +0000 |
commit | c29df824c2db40ccdfbaf7ac6f166c578d77db3a (patch) | |
tree | 1e9513d9c5f8d9da48ece5ce796f4d80b5796d82 /OpenSim/Region/Application/OpenSimMain.cs | |
parent | added SQLiteAssetData class first pass. This should work, (diff) | |
download | opensim-SC-c29df824c2db40ccdfbaf7ac6f166c578d77db3a.zip opensim-SC-c29df824c2db40ccdfbaf7ac6f166c578d77db3a.tar.gz opensim-SC-c29df824c2db40ccdfbaf7ac6f166c578d77db3a.tar.bz2 opensim-SC-c29df824c2db40ccdfbaf7ac6f166c578d77db3a.tar.xz |
Converted the LSL scripting engine into a IRegionModule, so now all "modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back).
Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having.
Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance.
Some early work to prepare for improving the way clients are updated (about prims etc).
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; |