mirror of
https://github.com/scottdraves/flam3.git
synced 2025-01-21 05:20:05 -05:00
wrong element reference
This commit is contained in:
parent
5e0e265181
commit
8735697ace
4
flam3.c
4
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; i<xf->num_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 */
|
||||
|
Loading…
Reference in New Issue
Block a user