From 2ff9ea3f8038653135c284cc0c93d88690db9a22 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 1 Jun 2014 10:06:26 -0700 Subject: Fixed a few things pertaining to interfacing with the estate service. Specifically, StoreEstateSettings was not being used anywhere; instead EstatSetting.Save was being called, but that method is a trigger to the DB-layer code directly, which, besides being wrong, was making it impossible to replace the service with a remote connector. Also added more packing/unpacking code. --- OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/ApplicationPlugins/LoadRegions') diff --git a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs index 1d63d26..3455411 100644 --- a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs +++ b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs @@ -39,6 +39,7 @@ using OpenSim.Region.CoreModules.Avatar.InstantMessage; using OpenSim.Region.CoreModules.Scripting.DynamicTexture; using OpenSim.Region.CoreModules.Scripting.LoadImageURL; using OpenSim.Region.CoreModules.Scripting.XMLRPC; +using OpenSim.Services.Interfaces; namespace OpenSim.ApplicationPlugins.LoadRegions { @@ -130,7 +131,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions createdScenes.Add(scene); if (changed) - regionsToLoad[i].EstateSettings.Save(); + m_openSim.EstateDataService.StoreEstateSettings(regionsToLoad[i].EstateSettings); } foreach (IScene scene in createdScenes) -- cgit v1.1