diff options
Added IRegistryCore and RegistryCore to OpenSim.Framework.
Added a ApplicationRegistry to OpenSimBase.
Changed LoadRegionsPlugin so it registers itself to that application registry.
Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin).
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 7f6ca9a..fcc02d8 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -563,8 +563,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
563 | region.RegionID, regionXmlPath); | 563 | region.RegionID, regionXmlPath); |
564 | region.SaveRegionToFile("dynamic region", regionXmlPath); | 564 | region.SaveRegionToFile("dynamic region", regionXmlPath); |
565 | } | 565 | } |
566 | 566 | IScene newscene; | |
567 | m_app.CreateRegion(region); | 567 | m_app.CreateRegion(region, out newscene); |
568 | 568 | ||
569 | responseData["success"] = "true"; | 569 | responseData["success"] = "true"; |
570 | responseData["region_name"] = region.RegionName; | 570 | responseData["region_name"] = region.RegionName; |