mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-03 00:18:20 +00:00
Fix type of parameter not being adjusted after optimizing parameter.
This commit is contained in:
parent
5105cee2e4
commit
27eeec06cf
1 changed files with 1 additions and 0 deletions
|
@ -41,3 +41,4 @@ def OptimizeParams(node, sym):
|
||||||
if params[i]['nt'] == 'CONST':
|
if params[i]['nt'] == 'CONST':
|
||||||
if not lslfuncs.cond(Key(params[i]['value'])):
|
if not lslfuncs.cond(Key(params[i]['value'])):
|
||||||
params[i]['value'] = u""
|
params[i]['value'] = u""
|
||||||
|
params[i]['type'] = 'string'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue