mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Remove "drunk" comment.
This commit is contained in:
parent
b76ae99616
commit
4f7933aa3b
1 changed files with 0 additions and 6 deletions
|
@ -163,12 +163,6 @@ class optimizer(object):
|
||||||
return
|
return
|
||||||
|
|
||||||
if code0 == 'FIELD':
|
if code0 == 'FIELD':
|
||||||
# FIXME: I was drunk when I wrote this.
|
|
||||||
#self.FoldTree(code[2])
|
|
||||||
#assert code[2][1] in ('vector', 'rotation')
|
|
||||||
#idx = '--xyzs'.index(code[3])
|
|
||||||
#if code[2][idx][0] == CONSTANT:
|
|
||||||
# code[:] = [CONSTANT, 'float', code[2][idx][0]]
|
|
||||||
if self.globalmode:
|
if self.globalmode:
|
||||||
# We can fold a vector or rotation field as they are constant.
|
# We can fold a vector or rotation field as they are constant.
|
||||||
assert code[2][0] == 'IDENT'
|
assert code[2][0] == 'IDENT'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue