From 8735697ace35daead7c1731c43150ddad325e643 Mon Sep 17 00:00:00 2001 From: EReckase Date: Thu, 12 Apr 2018 13:23:56 -0600 Subject: [PATCH] wrong element reference --- flam3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flam3.c b/flam3.c index 6487bb1..6ed0e9b 100644 --- a/flam3.c +++ b/flam3.c @@ -570,8 +570,8 @@ void apply_motion_parameters(flam3_xform *xf, flam3_xform *addto, double blend) /* Loop over the motion elements and add their contribution to the original vals */ for (i=0; inum_motion; i++) { - freq = mot[i]->motion_freq; - func = mot[i]->motion_func; + freq = mot[i].motion_freq; + func = mot[i].motion_func; APPMOT(density); /* Must ensure > 0 after all is applied */ APPMOT(color); /* Must ensure [0,1] after all is applied */