diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 18 |
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 8cc5e25..481a3e6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -10261,6 +10261,24 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
10261 | ScriptSleep(100); | 10261 | ScriptSleep(100); |
10262 | return tid.ToString(); | 10262 | return tid.ToString(); |
10263 | } | 10263 | } |
10264 | |||
10265 | public void SetPrimitiveParamsEx(LSL_Key prim, LSL_List rules) | ||
10266 | { | ||
10267 | SceneObjectPart obj = World.GetSceneObjectPart(new UUID(prim)); | ||
10268 | if (obj == null) | ||
10269 | return; | ||
10270 | |||
10271 | SetPrimParams(obj, rules); | ||
10272 | } | ||
10273 | |||
10274 | public LSL_List GetLinkPrimitiveParamsEx(LSL_Key prim, LSL_List rules) | ||
10275 | { | ||
10276 | SceneObjectPart obj = World.GetSceneObjectPart(new UUID(prim)); | ||
10277 | if (obj == null) | ||
10278 | return new LSL_List(); | ||
10279 | |||
10280 | return GetLinkPrimitiveParams(obj, rules); | ||
10281 | } | ||
10264 | } | 10282 | } |
10265 | 10283 | ||
10266 | public class NotecardCache | 10284 | public class NotecardCache |