From 1b7dbd94534edf8a65ca7965b90050bd572e732c Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Wed, 21 Dec 2016 00:41:08 +0100 Subject: [PATCH] Fix llGetColor in lslextrafuncs.py Too much copy-paste. The name of the parameter should have been 'face', not 'id'. --- lslopt/lslextrafuncs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lslopt/lslextrafuncs.py b/lslopt/lslextrafuncs.py index eff308e..1af8535 100644 --- a/lslopt/lslextrafuncs.py +++ b/lslopt/lslextrafuncs.py @@ -196,7 +196,7 @@ def llGetBoundingBox(id): return [] raise ELSLCantCompute -def llGetColor(id): +def llGetColor(face): assert isinteger(face) if face > 8: return ZERO_VECTOR