Whoops, got 'symmetry' backwards

This commit is contained in:
Steven Robertson 2011-12-17 21:07:22 -05:00
parent ed0f3f6810
commit 303accad16

View File

@ -329,7 +329,7 @@ def convert_xform(xf, isfinal=False):
# TODO: chaos
xf = dict(xf)
symm = float(xf.pop('symmetry', 0))
anim = xf.pop('animate', symm >= 0)
anim = xf.pop('animate', symm <= 0)
out = dict((k, float(xf.pop(k, v))) for k, v in
dict(color=0, color_speed=(1-symm)/2, opacity=1).items())
if not isfinal: