From f8b6c782012e4d922ef2cc2f0c2686b612c32504 Mon Sep 17 00:00:00 2001 From: Scott Draves Date: Tue, 31 Dec 2024 09:58:26 -0500 Subject: [PATCH] fix symmetry singularities by enforcing maxforms from the beginning instead of the end --- flam3-genome.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flam3-genome.c b/flam3-genome.c index 509dbd7..7b7277d 100644 --- a/flam3-genome.c +++ b/flam3-genome.c @@ -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); } }