aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_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/OSSL_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/OSSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 7ada738..dde664e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -2186,5 +2186,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2186 } 2186 }
2187 } 2187 }
2188 } 2188 }
2189
2190 public LSL_List osGetPrimitiveParams(LSL_Key prim, LSL_List rules)
2191 {
2192 CheckThreatLevel(ThreatLevel.High, "osGetPrimitiveParams");
2193 m_host.AddScriptLPS(1);
2194
2195 return m_LSL_Api.GetLinkPrimitiveParamsEx(prim, rules);
2196 }
2197
2198 public void osSetPrimitiveParams(LSL_Key prim, LSL_List rules)
2199 {
2200 CheckThreatLevel(ThreatLevel.High, "osGetPrimitiveParams");
2201 m_host.AddScriptLPS(1);
2202
2203 m_LSL_Api.SetPrimitiveParamsEx(prim, rules);
2204 }
2189 } 2205 }
2190} 2206}