mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Emergency fix for a bug discovered via a nPose plugin.
This commit is contained in:
parent
0a0e5926d5
commit
4461f36dce
1 changed files with 3 additions and 1 deletions
|
@ -318,7 +318,9 @@ class deadcode(object):
|
|||
# Replacing j with i+1 in llOwnerSay will produce wrong code because
|
||||
# the name i is redefined after j is assigned. shrinknames prevents
|
||||
# that.
|
||||
if not self.shrinknames or 'SEF' not in node:
|
||||
# FIXME: EMERGENCY FIX: shrinknames is not enough guarantee. See nposerlv.lsl.
|
||||
#if not self.shrinknames or 'SEF' not in node:
|
||||
if True or 'SEF' not in node:
|
||||
return False
|
||||
|
||||
if nt not in ('VECTOR', 'ROTATION'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue