diff options
author | MW | 2009-02-26 15:21:06 +0000 |
---|---|---|
committer | MW | 2009-02-26 15:21:06 +0000 |
commit | de82bf9eb53cdd3be94b5a730b81c70d1e244b70 (patch) | |
tree | 82c00d621abfb853d7571e3889792704fa6424bf /OpenSim/Region | |
parent | Add check in SceneManager to stop opensim.exe crashing if no regions/scenes w... (diff) | |
download | opensim-SC-de82bf9eb53cdd3be94b5a730b81c70d1e244b70.zip opensim-SC-de82bf9eb53cdd3be94b5a730b81c70d1e244b70.tar.gz opensim-SC-de82bf9eb53cdd3be94b5a730b81c70d1e244b70.tar.bz2 opensim-SC-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')
-rw-r--r-- | OpenSim/Region/Application/IApplicationPlugin.cs | 1 |
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 |