From 33e7c09b7b894551b35fb8ab29133c96a5d7b037 Mon Sep 17 00:00:00 2001
From: MW
Date: Thu, 26 Feb 2009 20:01:20 +0000
Subject: 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).

---
 OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')

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
                                           region.RegionID, regionXmlPath);
                         region.SaveRegionToFile("dynamic region", regionXmlPath);
                     }
-
-                    m_app.CreateRegion(region);
+                    IScene newscene;
+                    m_app.CreateRegion(region, out newscene);
 
                     responseData["success"]     = "true";
                     responseData["region_name"] = region.RegionName;
-- 
cgit v1.1