aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorUbitUmarov2018-12-19 04:01:52 +0000
committerUbitUmarov2018-12-19 04:01:52 +0000
commitf03ee2f7955a9f72e52390d94233d49ce2cbd9fb (patch)
treeff4e04d82528445a3aec88f4684e3814ab6d486c /OpenSim/Region/ScriptEngine/Shared/Api
parentoops (diff)
downloadopensim-SC-f03ee2f7955a9f72e52390d94233d49ce2cbd9fb.zip
opensim-SC-f03ee2f7955a9f72e52390d94233d49ce2cbd9fb.tar.gz
opensim-SC-f03ee2f7955a9f72e52390d94233d49ce2cbd9fb.tar.bz2
opensim-SC-f03ee2f7955a9f72e52390d94233d49ce2cbd9fb.tar.xz
still another
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 3c824eb..9d5f670 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -2691,12 +2691,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2691 remaining = m_LSL_Api.GetPrimParams(part, rules, ref retVal); 2691 remaining = m_LSL_Api.GetPrimParams(part, rules, ref retVal);
2692 } 2692 }
2693 2693
2694 while (remaining.Length > 2) 2694 while (remaining.Length > 1)
2695 { 2695 {
2696 linknumber = remaining.GetLSLIntegerItem(0); 2696 linknumber = remaining.GetLSLIntegerItem(0);
2697 rules = remaining.GetSublist(1, -1);
2698 parts = m_LSL_Api.GetLinkParts(linknumber); 2697 parts = m_LSL_Api.GetLinkParts(linknumber);
2698 if(parts.Count == 0)
2699 break;
2699 2700
2701 rules = remaining.GetSublist(1, -1);
2700 foreach (SceneObjectPart part in parts) 2702 foreach (SceneObjectPart part in parts)
2701 remaining = m_LSL_Api.GetPrimParams(part, rules, ref retVal); 2703 remaining = m_LSL_Api.GetPrimParams(part, rules, ref retVal);
2702 } 2704 }