aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
diff options
context:
space:
mode:
authorMelanie Thielker2010-06-02 01:01:56 +0200
committerMelanie2010-06-02 01:21:50 +0100
commit53e96dccef005237a4d5afe477e19ab1837a5c7c (patch)
tree6d96c947e8ed958fe70e947857554cbd36df7a38 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
parentOne should not lock null objects. (diff)
downloadopensim-SC-53e96dccef005237a4d5afe477e19ab1837a5c7c.zip
opensim-SC-53e96dccef005237a4d5afe477e19ab1837a5c7c.tar.gz
opensim-SC-53e96dccef005237a4d5afe477e19ab1837a5c7c.tar.bz2
opensim-SC-53e96dccef005237a4d5afe477e19ab1837a5c7c.tar.xz
Add two new osFunctions:
list osGetPrimititveParams(key prim, list rules); osSetPrimitiveParams(key prim, list rules);
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 6e9a823..a8a3595 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -9788,6 +9788,24 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
9788 ScriptSleep(100); 9788 ScriptSleep(100);
9789 return tid.ToString(); 9789 return tid.ToString();
9790 } 9790 }
9791
9792 public void SetPrimitiveParamsEx(LSL_Key prim, LSL_List rules)
9793 {
9794 SceneObjectPart obj = World.GetSceneObjectPart(new UUID(prim));
9795 if (obj == null)
9796 return;
9797
9798 SetPrimParams(obj, rules);
9799 }
9800
9801 public LSL_List GetLinkPrimitiveParamsEx(LSL_Key prim, LSL_List rules)
9802 {
9803 SceneObjectPart obj = World.GetSceneObjectPart(new UUID(prim));
9804 if (obj == null)
9805 return new LSL_List();
9806
9807 return GetLinkPrimitiveParams(obj, rules);
9808 }
9791 } 9809 }
9792 9810
9793 public class NotecardCache 9811 public class NotecardCache