aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-01-04 21:37:11 +0000
committerJustin Clark-Casey (justincc)2013-01-04 21:50:38 +0000
commit7199ac09ee4327df467c49b8307f98dfb31fa8a3 (patch)
treec8e1954c519cd011f9bb8e41ea74aa5add6c7f13 /OpenSim/Region/ScriptEngine
parentFix build break caused by missing ) from dce2809. (diff)
downloadopensim-SC_OLD-7199ac09ee4327df467c49b8307f98dfb31fa8a3.zip
opensim-SC_OLD-7199ac09ee4327df467c49b8307f98dfb31fa8a3.tar.gz
opensim-SC_OLD-7199ac09ee4327df467c49b8307f98dfb31fa8a3.tar.bz2
opensim-SC_OLD-7199ac09ee4327df467c49b8307f98dfb31fa8a3.tar.xz
Set default particle burst count to 1 instead of 0 in any set particle system script call that does not have an empty list.
As per http://opensimulator.org/mantis/view.php?id=6353
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 115bac9..ea4e609 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6194,6 +6194,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6194 ps.BurstSpeedMax = 1.0f; 6194 ps.BurstSpeedMax = 1.0f;
6195 ps.BurstRate = 0.1f; 6195 ps.BurstRate = 0.1f;
6196 ps.PartMaxAge = 10.0f; 6196 ps.PartMaxAge = 10.0f;
6197 ps.BurstPartCount = 1;
6197 return ps; 6198 return ps;
6198 } 6199 }
6199 6200
@@ -6215,9 +6216,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6215 SetParticleSystem(m_host, rules); 6216 SetParticleSystem(m_host, rules);
6216 } 6217 }
6217 6218
6218 private void SetParticleSystem(SceneObjectPart part, LSL_List rules) { 6219 private void SetParticleSystem(SceneObjectPart part, LSL_List rules)
6219 6220 {
6220
6221 if (rules.Length == 0) 6221 if (rules.Length == 0)
6222 { 6222 {
6223 part.RemoveParticleSystem(); 6223 part.RemoveParticleSystem();