aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs18
1 files changed, 8 insertions, 10 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index c8b6a7e..7b52ea3 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6252,19 +6252,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6252 m_host.AddScriptLPS(1); 6252 m_host.AddScriptLPS(1);
6253 6253
6254 List<SceneObjectPart> parts = GetLinkParts(linknumber); 6254 List<SceneObjectPart> parts = GetLinkParts(linknumber);
6255 if (parts.Count > 0) 6255
6256 try
6256 { 6257 {
6257 try 6258 foreach (SceneObjectPart part in parts)
6258 {
6259 foreach (var part in parts)
6260 {
6261 SetTextureAnim(part, mode, face, sizex, sizey, start, length, rate);
6262 }
6263 }
6264 finally
6265 { 6259 {
6260 SetTextureAnim(part, mode, face, sizex, sizey, start, length, rate);
6266 } 6261 }
6267 } 6262 }
6263 finally
6264 {
6265 }
6268 } 6266 }
6269 6267
6270 private void SetTextureAnim(SceneObjectPart part, int mode, int face, int sizex, int sizey, double start, double length, double rate) 6268 private void SetTextureAnim(SceneObjectPart part, int mode, int face, int sizex, int sizey, double start, double length, double rate)
@@ -6658,7 +6656,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6658 6656
6659 List<SceneObjectPart> parts = GetLinkParts(linknumber); 6657 List<SceneObjectPart> parts = GetLinkParts(linknumber);
6660 6658
6661 foreach (var part in parts) 6659 foreach (SceneObjectPart part in parts)
6662 { 6660 {
6663 SetParticleSystem(part, rules); 6661 SetParticleSystem(part, rules);
6664 } 6662 }