fix symmetry singularities by enforcing maxforms from the beginning instead of the end

This commit is contained in:
Scott Draves 2024-12-31 09:58:26 -05:00
parent 7fb50c82e9
commit f8b6c78201

View File

@ -1131,7 +1131,7 @@ main(argc, argv)
if (maxforms && atoi(maxforms)) {
cp_save.symmetry = 0;
while (cp_save.num_xforms > atoi(maxforms))
flam3_delete_xform(&cp_save, cp_save.num_xforms - 1);
flam3_delete_xform(&cp_save, 0);
}
}