diff options
author | Diva Canto | 2014-06-01 10:06:26 -0700 |
---|---|---|
committer | Diva Canto | 2014-06-01 10:06:26 -0700 |
commit | 2ff9ea3f8038653135c284cc0c93d88690db9a22 (patch) | |
tree | 34448f055a3577311e147503536260337a8d4719 /OpenSim/Region/ScriptEngine/Shared/Api | |
parent | Fix a bug where estate not found would result in a dummy estate record with e... (diff) | |
download | opensim-SC-2ff9ea3f8038653135c284cc0c93d88690db9a22.zip opensim-SC-2ff9ea3f8038653135c284cc0c93d88690db9a22.tar.gz opensim-SC-2ff9ea3f8038653135c284cc0c93d88690db9a22.tar.bz2 opensim-SC-2ff9ea3f8038653135c284cc0c93d88690db9a22.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index de2c3f7..4a24980 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1246,7 +1246,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1246 | World.RegionInfo.EstateSettings.UseGlobalTime = !sunFixed; | 1246 | World.RegionInfo.EstateSettings.UseGlobalTime = !sunFixed; |
1247 | World.RegionInfo.EstateSettings.SunPosition = sunHour; | 1247 | World.RegionInfo.EstateSettings.SunPosition = sunHour; |
1248 | World.RegionInfo.EstateSettings.FixedSun = sunFixed; | 1248 | World.RegionInfo.EstateSettings.FixedSun = sunFixed; |
1249 | World.RegionInfo.EstateSettings.Save(); | 1249 | World.EstateDataService.StoreEstateSettings(World.RegionInfo.EstateSettings); |
1250 | 1250 | ||
1251 | World.EventManager.TriggerEstateToolsSunUpdate(World.RegionInfo.RegionHandle); | 1251 | World.EventManager.TriggerEstateToolsSunUpdate(World.RegionInfo.RegionHandle); |
1252 | } | 1252 | } |