diff options
author | BlueWall | 2011-10-22 13:06:34 -0400 |
---|---|---|
committer | BlueWall | 2011-10-22 13:06:34 -0400 |
commit | 3fc47275cff5f74e370a24f63f42a6bee023ee17 (patch) | |
tree | 7162a3f954cf54ced6a55806ae3dc52261fc13c7 | |
parent | Rename some of the example commented out server names to mygridserver.com lik... (diff) | |
download | opensim-SC-3fc47275cff5f74e370a24f63f42a6bee023ee17.zip opensim-SC-3fc47275cff5f74e370a24f63f42a6bee023ee17.tar.gz opensim-SC-3fc47275cff5f74e370a24f63f42a6bee023ee17.tar.bz2 opensim-SC-3fc47275cff5f74e370a24f63f42a6bee023ee17.tar.xz |
Add case to Lightshare/Windlight
Thanks thomax for a patch to add handling for Sun/Moon pos.
Diffstat (limited to '')
-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; |