diff options
Add case to Lightshare/Windlight
Thanks thomax for a patch to add handling for Sun/Moon pos.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
235 | case (int)ScriptBaseClass.WL_SUN_MOON_COLOR: | 235 | case (int)ScriptBaseClass.WL_SUN_MOON_COLOR: |
236 | toadd.Add(new LSL_Rotation(wl.sunMoonColor.X, wl.sunMoonColor.Y, wl.sunMoonColor.Z, wl.sunMoonColor.W)); | 236 | toadd.Add(new LSL_Rotation(wl.sunMoonColor.X, wl.sunMoonColor.Y, wl.sunMoonColor.Z, wl.sunMoonColor.W)); |
237 | break; | 237 | break; |
238 | case (int)ScriptBaseClass.WL_SUN_MOON_POSITION: | ||
239 | toadd.Add(new LSL_Float(wl.sunMoonPosition)); | ||
240 | break; | ||
238 | case (int)ScriptBaseClass.WL_UNDERWATER_FOG_MODIFIER: | 241 | case (int)ScriptBaseClass.WL_UNDERWATER_FOG_MODIFIER: |
239 | toadd.Add(new LSL_Float(wl.underwaterFogModifier)); | 242 | toadd.Add(new LSL_Float(wl.underwaterFogModifier)); |
240 | break; | 243 | break; |