aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 0d3049d..4106fbb 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -3274,7 +3274,7 @@ namespace OpenSim.Region.ScriptEngine.Common
3274 3274
3275 // sunPosition estate setting is set in OpenSim.Region.Environment.Modules.SunModule 3275 // sunPosition estate setting is set in OpenSim.Region.Environment.Modules.SunModule
3276 // have to convert from LLVector3 (float) to LSL_Types.Vector3 (double) 3276 // have to convert from LLVector3 (float) to LSL_Types.Vector3 (double)
3277 SunFloatVector3 = World.RegionInfo.EstateSettings.sunPosition; 3277 SunFloatVector3 = World.RegionInfo.RegionSettings.SunVector;
3278 SunDoubleVector3.x = (double)SunFloatVector3.X; 3278 SunDoubleVector3.x = (double)SunFloatVector3.X;
3279 SunDoubleVector3.y = (double)SunFloatVector3.Y; 3279 SunDoubleVector3.y = (double)SunFloatVector3.Y;
3280 SunDoubleVector3.z = (double)SunFloatVector3.Z; 3280 SunDoubleVector3.z = (double)SunFloatVector3.Z;