aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorMW2009-02-26 15:21:06 +0000
committerMW2009-02-26 15:21:06 +0000
commitde82bf9eb53cdd3be94b5a730b81c70d1e244b70 (patch)
tree82c00d621abfb853d7571e3889792704fa6424bf /OpenSim/Region/Application
parentAdd check in SceneManager to stop opensim.exe crashing if no regions/scenes w... (diff)
downloadopensim-SC_OLD-de82bf9eb53cdd3be94b5a730b81c70d1e244b70.zip
opensim-SC_OLD-de82bf9eb53cdd3be94b5a730b81c70d1e244b70.tar.gz
opensim-SC_OLD-de82bf9eb53cdd3be94b5a730b81c70d1e244b70.tar.bz2
opensim-SC_OLD-de82bf9eb53cdd3be94b5a730b81c70d1e244b70.tar.xz
Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/IApplicationPlugin.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/IApplicationPlugin.cs b/OpenSim/Region/Application/IApplicationPlugin.cs
index 4fd93e8..09e3336 100644
--- a/OpenSim/Region/Application/IApplicationPlugin.cs
+++ b/OpenSim/Region/Application/IApplicationPlugin.cs
@@ -32,6 +32,7 @@ namespace OpenSim
32 public interface IApplicationPlugin : IPlugin 32 public interface IApplicationPlugin : IPlugin
33 { 33 {
34 void Initialise(OpenSimBase openSim); 34 void Initialise(OpenSimBase openSim);
35 void PostInitialise();
35 } 36 }
36 37
37 public class ApplicationPluginInitialiser : PluginInitialiserBase 38 public class ApplicationPluginInitialiser : PluginInitialiserBase