diff options
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/ScriptEngine/DotNetEngine/ScriptEngine.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs index d0823d0..694059c 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs | |||
@@ -30,8 +30,9 @@ using System; | |||
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Text; | 31 | using System.Text; |
32 | using OpenSim.Framework.Console; | 32 | using OpenSim.Framework.Console; |
33 | //using OpenSim.Region.Environment.Scenes; | 33 | using OpenSim.Region.Environment.Scenes; |
34 | using OpenSim.Region.Environment.Scenes.Scripting; | 34 | using OpenSim.Region.Environment.Scenes.Scripting; |
35 | using OpenSim.Region.Environment.Interfaces; | ||
35 | using libsecondlife; | 36 | using libsecondlife; |
36 | 37 | ||
37 | namespace OpenSim.Region.ScriptEngine.DotNetEngine | 38 | namespace OpenSim.Region.ScriptEngine.DotNetEngine |
@@ -40,7 +41,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
40 | /// This is the root object for ScriptEngine | 41 | /// This is the root object for ScriptEngine |
41 | /// </summary> | 42 | /// </summary> |
42 | [Serializable] | 43 | [Serializable] |
43 | public class ScriptEngine : OpenSim.Region.Environment.Scenes.Scripting.ScriptEngineInterface | 44 | public class ScriptEngine :IRegionModule |
44 | { | 45 | { |
45 | 46 | ||
46 | internal OpenSim.Region.Environment.Scenes.Scene World; | 47 | internal OpenSim.Region.Environment.Scenes.Scene World; |
@@ -99,5 +100,33 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
99 | // Log.Status("ScriptEngine", "DEBUG FUNCTION: StartScript: " + ScriptID); | 100 | // Log.Status("ScriptEngine", "DEBUG FUNCTION: StartScript: " + ScriptID); |
100 | // myScriptManager.StartScript(ScriptID, ObjectID); | 101 | // myScriptManager.StartScript(ScriptID, ObjectID); |
101 | //} | 102 | //} |
103 | |||
104 | #region IRegionModule | ||
105 | |||
106 | public void Initialise(Scene scene) | ||
107 | { | ||
108 | this.InitializeEngine(scene, MainLog.Instance); | ||
109 | } | ||
110 | |||
111 | public void PostInitialise() | ||
112 | { | ||
113 | |||
114 | } | ||
115 | |||
116 | public void CloseDown() | ||
117 | { | ||
118 | } | ||
119 | |||
120 | public string GetName() | ||
121 | { | ||
122 | return "LSLScriptingModule"; | ||
123 | } | ||
124 | |||
125 | public bool IsSharedModule() | ||
126 | { | ||
127 | return false; | ||
128 | } | ||
129 | |||
130 | #endregion | ||
102 | } | 131 | } |
103 | } | 132 | } |