forked from mirror-github-bspeice/flam3
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f8b6c78201 | |||
| 7fb50c82e9 |
+1
-1
@@ -1131,7 +1131,7 @@ main(argc, argv)
|
|||||||
if (maxforms && atoi(maxforms)) {
|
if (maxforms && atoi(maxforms)) {
|
||||||
cp_save.symmetry = 0;
|
cp_save.symmetry = 0;
|
||||||
while (cp_save.num_xforms > atoi(maxforms))
|
while (cp_save.num_xforms > atoi(maxforms))
|
||||||
flam3_delete_xform(&cp_save, cp_save.num_xforms - 1);
|
flam3_delete_xform(&cp_save, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 */
|
/* Loop over the motion elements and add their contribution to the original vals */
|
||||||
for (i=0; i<xf->num_motion; i++) {
|
for (i=0; i<xf->num_motion; i++) {
|
||||||
|
|
||||||
freq = mot[i]->motion_freq;
|
freq = mot[i].motion_freq;
|
||||||
func = mot[i]->motion_func;
|
func = mot[i].motion_func;
|
||||||
|
|
||||||
APPMOT(density); /* Must ensure > 0 after all is applied */
|
APPMOT(density); /* Must ensure > 0 after all is applied */
|
||||||
APPMOT(color); /* Must ensure [0,1] after all is applied */
|
APPMOT(color); /* Must ensure [0,1] after all is applied */
|
||||||
|
|||||||
Reference in New Issue
Block a user