diff --git a/cuburn/code/iter.py b/cuburn/code/iter.py index 886e215..fb837c6 100644 --- a/cuburn/code/iter.py +++ b/cuburn/code/iter.py @@ -112,22 +112,13 @@ void apply_xf{{xfid}}(float &ox, float &oy, float &color, mwc_st &rctx) { oy = 0; {{for v in xform.vars}} - {{if variations.var_nos[v].startswith('pre_')}} if (1) { float w = {{px.get('xf.var[%d]' % v)}}; {{variations.var_code[variations.var_nos[v]].substitute(locals())}} } - {{endif}} {{endfor}} - {{for v in xform.vars}} - {{if not variations.var_nos[v].startswith('pre_')}} - if (1) { - float w = {{px.get('xf.var[%d]' % v)}}; - {{variations.var_code[variations.var_nos[v]].substitute(locals())}} - } {{endif}} - {{endfor}} float csp = {{px.get('xf.color_speed')}}; color = color * (1.0f - csp) + {{px.get('xf.color')}} * csp;