diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 30a64c7..06a6086 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3214,7 +3214,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3214 | 3214 | ||
3215 | // sunPosition estate setting is set in OpenSim.Region.Environment.Modules.SunModule | 3215 | // sunPosition estate setting is set in OpenSim.Region.Environment.Modules.SunModule |
3216 | // have to convert from LLVector3 (float) to LSL_Types.Vector3 (double) | 3216 | // have to convert from LLVector3 (float) to LSL_Types.Vector3 (double) |
3217 | SunFloatVector3 = World.RegionInfo.EstateSettings.sunPosition; | 3217 | SunFloatVector3 = World.RegionInfo.RegionSettings.SunVector; |
3218 | SunDoubleVector3.x = (double)SunFloatVector3.X; | 3218 | SunDoubleVector3.x = (double)SunFloatVector3.X; |
3219 | SunDoubleVector3.y = (double)SunFloatVector3.Y; | 3219 | SunDoubleVector3.y = (double)SunFloatVector3.Y; |
3220 | SunDoubleVector3.z = (double)SunFloatVector3.Z; | 3220 | SunDoubleVector3.z = (double)SunFloatVector3.Z; |