aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2009-10-21 20:47:24 +0100
committerMelanie2009-10-21 20:47:24 +0100
commitd88bb83136752fadb1c2e3b64641acc2b3b6dd30 (patch)
treea77c2617f469bbb649c15146d9161371d7bd2daf /OpenSim
parentPatch by mcortez: Remove lock from scene presence updating in groups module (diff)
downloadopensim-SC-d88bb83136752fadb1c2e3b64641acc2b3b6dd30.zip
opensim-SC-d88bb83136752fadb1c2e3b64641acc2b3b6dd30.tar.gz
opensim-SC-d88bb83136752fadb1c2e3b64641acc2b3b6dd30.tar.bz2
opensim-SC-d88bb83136752fadb1c2e3b64641acc2b3b6dd30.tar.xz
Fix llParticleSystem to accept LSL variables and LSL constants in place
of the named constants for the rule selector. Information provided by Snowcrash
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 224b3cc..9a70890 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5844,7 +5844,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5844 5844
5845 for (int i = 0; i < rules.Length; i += 2) 5845 for (int i = 0; i < rules.Length; i += 2)
5846 { 5846 {
5847 switch ((int)rules.Data[i]) 5847 switch (Convert.ToInt32(rules.Data[i]))
5848 { 5848 {
5849 case (int)ScriptBaseClass.PSYS_PART_FLAGS: 5849 case (int)ScriptBaseClass.PSYS_PART_FLAGS:
5850 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1); 5850 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)(uint)rules.GetLSLIntegerItem(i + 1);