From 3fc47275cff5f74e370a24f63f42a6bee023ee17 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Sat, 22 Oct 2011 13:06:34 -0400 Subject: [PATCH] Add case to Lightshare/Windlight Thanks thomax for a patch to add handling for Sun/Moon pos. --- .../Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs index 80daf5b52e..cb0d7658aa 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs @@ -235,6 +235,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api case (int)ScriptBaseClass.WL_SUN_MOON_COLOR: toadd.Add(new LSL_Rotation(wl.sunMoonColor.X, wl.sunMoonColor.Y, wl.sunMoonColor.Z, wl.sunMoonColor.W)); break; + case (int)ScriptBaseClass.WL_SUN_MOON_POSITION: + toadd.Add(new LSL_Float(wl.sunMoonPosition)); + break; case (int)ScriptBaseClass.WL_UNDERWATER_FOG_MODIFIER: toadd.Add(new LSL_Float(wl.underwaterFogModifier)); break;