mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
Comment changes - just make the idea more explicit.
This commit is contained in:
parent
3b4bf13a10
commit
5d4abf967d
1 changed files with 3 additions and 2 deletions
|
@ -342,11 +342,12 @@ class optimizer(object):
|
|||
if code0 == 'DECL':
|
||||
# The expression code is elsewhere.
|
||||
expr = self.symtab[code[3]][code[2]][2]
|
||||
# Irrelevant if list or string or key.
|
||||
if expr is not None:
|
||||
self.FoldTree(expr)
|
||||
# TODO: Remove assignment if default
|
||||
# TODO: Remove assignment if integer zero.
|
||||
else:
|
||||
# TODO: Add assignment if ZERO_VECTOR, ZERO_ROTATION or FLOAT.
|
||||
# TODO: Add assignment if vector, rotation or float.
|
||||
pass
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue