Implement library function parameter optimization.

So far only two kinds: angle in llSensor[Repeat] and null keys in functions that take a key parameter.

Closes two TODOs.
This commit is contained in:
Sei Lisa 2015-04-21 04:56:09 +02:00
parent 595286f22a
commit d58bc2d350
3 changed files with 50 additions and 4 deletions

View file

@ -18,7 +18,7 @@
# Optimizer class that wraps and calls the other parts.
import lslfuncs
from lslfuncs import Key, Vector, Quaternion
from lslcommon import Key, Vector, Quaternion
from lslfoldconst import foldconst
from lslrenamer import renamer