From 3164a28c9be1219410d4eef6be904ceda7c9264c Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Wed, 18 Oct 2017 21:57:33 +0200 Subject: [PATCH] Add llGetAttachedList to lslextrafuncs. Returns (list)"NOT FOUND" when passed a null key. --- lslopt/lslextrafuncs.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lslopt/lslextrafuncs.py b/lslopt/lslextrafuncs.py index 33d5364..cfa8fa0 100644 --- a/lslopt/lslextrafuncs.py +++ b/lslopt/lslextrafuncs.py @@ -228,6 +228,12 @@ def llGetAnimationList(id): return [] raise ELSLCantCompute +def llGetAttachedList(id): + id = fk(id) + if not cond(id): + return [u'NOT FOUND'] + raise ELSLCantCompute + def llGetBoundingBox(id): id = fk(id) if not cond(id):