Add case to Lightshare/Windlight
Thanks thomax for a patch to add handling for Sun/Moon pos.remove-scene-viewer
parent
655aee44c4
commit
3fc47275cf
|
@ -235,6 +235,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
case (int)ScriptBaseClass.WL_SUN_MOON_COLOR:
|
case (int)ScriptBaseClass.WL_SUN_MOON_COLOR:
|
||||||
toadd.Add(new LSL_Rotation(wl.sunMoonColor.X, wl.sunMoonColor.Y, wl.sunMoonColor.Z, wl.sunMoonColor.W));
|
toadd.Add(new LSL_Rotation(wl.sunMoonColor.X, wl.sunMoonColor.Y, wl.sunMoonColor.Z, wl.sunMoonColor.W));
|
||||||
break;
|
break;
|
||||||
|
case (int)ScriptBaseClass.WL_SUN_MOON_POSITION:
|
||||||
|
toadd.Add(new LSL_Float(wl.sunMoonPosition));
|
||||||
|
break;
|
||||||
case (int)ScriptBaseClass.WL_UNDERWATER_FOG_MODIFIER:
|
case (int)ScriptBaseClass.WL_UNDERWATER_FOG_MODIFIER:
|
||||||
toadd.Add(new LSL_Float(wl.underwaterFogModifier));
|
toadd.Add(new LSL_Float(wl.underwaterFogModifier));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue