diff options
author | SignpostMarv | 2012-08-24 16:41:43 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-08-25 02:30:23 +0100 |
commit | a8044999fb056de0a815093953f82b33d540dd6f (patch) | |
tree | 3cdece7e59569adfc5042ae3ee1f78499fb26ca2 /OpenSim/Region/ScriptEngine | |
parent | renaming to be similar to equivalent Set command (diff) | |
download | opensim-SC-a8044999fb056de0a815093953f82b33d540dd6f.zip opensim-SC-a8044999fb056de0a815093953f82b33d540dd6f.tar.gz opensim-SC-a8044999fb056de0a815093953f82b33d540dd6f.tar.bz2 opensim-SC-a8044999fb056de0a815093953f82b33d540dd6f.tar.xz |
use SceneObjectPart instead of var
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 6 |
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 c706f48..03b5982 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5828,7 +5828,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5828 | 5828 | ||
5829 | List<SceneObjectPart> parts = GetLinkParts(linknumber); | 5829 | List<SceneObjectPart> parts = GetLinkParts(linknumber); |
5830 | 5830 | ||
5831 | foreach (var part in parts) | 5831 | foreach (SceneObjectPart part in parts) |
5832 | { | 5832 | { |
5833 | SetTextureAnim(part, mode, face, sizex, sizey, start, length, rate); | 5833 | SetTextureAnim(part, mode, face, sizex, sizey, start, length, rate); |
5834 | } | 5834 | } |
@@ -6190,7 +6190,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6190 | 6190 | ||
6191 | List<SceneObjectPart> parts = GetLinkParts(linknumber); | 6191 | List<SceneObjectPart> parts = GetLinkParts(linknumber); |
6192 | 6192 | ||
6193 | foreach (var part in parts) | 6193 | foreach (SceneObjectPart part in parts) |
6194 | { | 6194 | { |
6195 | SetParticleSystem(part, rules); | 6195 | SetParticleSystem(part, rules); |
6196 | } | 6196 | } |
@@ -7921,7 +7921,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7921 | 7921 | ||
7922 | LSL_List res = new LSL_List(); | 7922 | LSL_List res = new LSL_List(); |
7923 | 7923 | ||
7924 | foreach (var part in parts) | 7924 | foreach (SceneObjectPart part in parts) |
7925 | { | 7925 | { |
7926 | LSL_List partRes = GetPrimParams(part, rules); | 7926 | LSL_List partRes = GetPrimParams(part, rules); |
7927 | res += partRes; | 7927 | res += partRes; |