From 551a6ece1250e040942e4f5bc13029da89cacbd1 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Fri, 20 Jan 2017 01:18:13 +0100 Subject: [PATCH] Make llGetListEntryType of a list-type element return 0 (TYPE_INVALID). It was triggering ELSLInvalidType, which is not a good approach. --- lslopt/lslbasefuncs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lslopt/lslbasefuncs.py b/lslopt/lslbasefuncs.py index 0e1971e..6c39dc9 100644 --- a/lslopt/lslbasefuncs.py +++ b/lslopt/lslbasefuncs.py @@ -110,7 +110,7 @@ Types = { Key: 4, # TYPE_KEY Vector: 5, # TYPE_VECTOR Quaternion: 6, # TYPE_ROTATION - #list: 7, # Undefined + list: 0, # TYPE_INVALID } # Utility functions