mirror of
https://github.com/scottdraves/flam3.git
synced 2025-01-20 21:10:08 -05:00
fix symmetry singularities by enforcing maxforms from the beginning instead of the end
This commit is contained in:
parent
7fb50c82e9
commit
f8b6c78201
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user