From 756c5170694fa3dc4146c2b4034f52bd5c97ec86 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 26 Feb 2009 22:51:52 +0000 Subject: Added IRegionCreator interface that all ApplicationPlugins that are creators of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event. Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces. --- OpenSim/Region/Application/OpenSimBase.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index 3f7c757..5927c5c 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -212,6 +212,12 @@ namespace OpenSim m_commsManager.GridService.RegionLoginsEnabled = true; } + AddPluginCommands(); + + } + + protected virtual void AddPluginCommands() + { // If console exists add plugin commands. if (m_console != null) { @@ -251,7 +257,6 @@ namespace OpenSim } } } - } private void HandleCommanderCommand(string module, string[] cmd) -- cgit v1.1