mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
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.
This commit is contained in:
@@ -1246,7 +1246,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
World.RegionInfo.EstateSettings.UseGlobalTime = !sunFixed;
|
||||
World.RegionInfo.EstateSettings.SunPosition = sunHour;
|
||||
World.RegionInfo.EstateSettings.FixedSun = sunFixed;
|
||||
World.RegionInfo.EstateSettings.Save();
|
||||
World.EstateDataService.StoreEstateSettings(World.RegionInfo.EstateSettings);
|
||||
|
||||
World.EventManager.TriggerEstateToolsSunUpdate(World.RegionInfo.RegionHandle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user