diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs index d4250c1..99973b4 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/CM_Api.cs | |||
@@ -244,6 +244,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
244 | LSL_Types.Vector3 iV; | 244 | LSL_Types.Vector3 iV; |
245 | switch (rule) | 245 | switch (rule) |
246 | { | 246 | { |
247 | case (int)ScriptBaseClass.WL_SUN_MOON_POSITION: | ||
248 | idx++; | ||
249 | wl.sunMoonPosition = (float)rules.GetLSLFloatItem(idx); | ||
250 | break; | ||
247 | case (int)ScriptBaseClass.WL_AMBIENT: | 251 | case (int)ScriptBaseClass.WL_AMBIENT: |
248 | idx++; | 252 | idx++; |
249 | iQ = rules.GetQuaternionItem(idx); | 253 | iQ = rules.GetQuaternionItem(idx); |
@@ -300,7 +304,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
300 | case (int)ScriptBaseClass.WL_CLOUD_XY_DENSITY: | 304 | case (int)ScriptBaseClass.WL_CLOUD_XY_DENSITY: |
301 | idx++; | 305 | idx++; |
302 | iV = rules.GetVector3Item(idx); | 306 | iV = rules.GetVector3Item(idx); |
303 | wl.cloudDetailXYDensity = new Vector3((float)iV.x, (float)iV.y, (float)iV.z); | 307 | wl.cloudXYDensity = new Vector3((float)iV.x, (float)iV.y, (float)iV.z); |
304 | break; | 308 | break; |
305 | case (int)ScriptBaseClass.WL_DENSITY_MULTIPLIER: | 309 | case (int)ScriptBaseClass.WL_DENSITY_MULTIPLIER: |
306 | idx++; | 310 | idx++; |