mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Patch #9150
Patch 7 of the region patches. Finish off the region parts of the estate dialog. Full user functionality. Terrain textures, heights, water, avatar counts, prim bonus, debug settings and region toggles can now be set from the dialog on a per-region basis. Estate stuff defaults to sane values where there are no defaults, to estate_settings.xml otherwise. Sun still b0rked :(
This commit is contained in:
@@ -3274,7 +3274,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
|
||||
// sunPosition estate setting is set in OpenSim.Region.Environment.Modules.SunModule
|
||||
// have to convert from LLVector3 (float) to LSL_Types.Vector3 (double)
|
||||
SunFloatVector3 = World.RegionInfo.EstateSettings.sunPosition;
|
||||
SunFloatVector3 = World.RegionInfo.RegionSettings.SunVector;
|
||||
SunDoubleVector3.x = (double)SunFloatVector3.X;
|
||||
SunDoubleVector3.y = (double)SunFloatVector3.Y;
|
||||
SunDoubleVector3.z = (double)SunFloatVector3.Z;
|
||||
|
||||
@@ -3214,7 +3214,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
// sunPosition estate setting is set in OpenSim.Region.Environment.Modules.SunModule
|
||||
// have to convert from LLVector3 (float) to LSL_Types.Vector3 (double)
|
||||
SunFloatVector3 = World.RegionInfo.EstateSettings.sunPosition;
|
||||
SunFloatVector3 = World.RegionInfo.RegionSettings.SunVector;
|
||||
SunDoubleVector3.x = (double)SunFloatVector3.X;
|
||||
SunDoubleVector3.y = (double)SunFloatVector3.Y;
|
||||
SunDoubleVector3.z = (double)SunFloatVector3.Z;
|
||||
|
||||
Reference in New Issue
Block a user