From 3fc47275cff5f74e370a24f63f42a6bee023ee17 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Sat, 22 Oct 2011 13:06:34 -0400 Subject: Add case to Lightshare/Windlight Thanks thomax for a patch to add handling for Sun/Moon pos. --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs index 80daf5b..cb0d765 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; -- cgit v1.1