[Bf-blender-cvs] [fe6999352a8] blender-v2.93-release: Fix T96195: f-curve factorized polynomial generator broken UI

Ethan-Hall noreply at git.blender.org
Thu Mar 24 10:52:47 CET 2022


Commit: fe6999352a8d0aad134645f9a67188e45a30d18a
Author: Ethan-Hall
Date:   Mon Mar 7 15:58:24 2022 +0100
Branches: blender-v2.93-release
https://developer.blender.org/rBfe6999352a8d0aad134645f9a67188e45a30d18a

Fix T96195: f-curve factorized polynomial generator broken UI

The polynomial parameters were not shown correctly.

Differential Revision: https://developer.blender.org/D14254

===================================================================

M	source/blender/editors/animation/fmodifier_ui.c

===================================================================

diff --git a/source/blender/editors/animation/fmodifier_ui.c b/source/blender/editors/animation/fmodifier_ui.c
index 653bd72b364..109a999f41d 100644
--- a/source/blender/editors/animation/fmodifier_ui.c
+++ b/source/blender/editors/animation/fmodifier_ui.c
@@ -427,7 +427,7 @@ static void generator_panel_draw(const bContext *C, Panel *panel)
       uiLayout *first_row = uiLayoutRow(col, true);
       uiItemFullR(first_row, ptr, prop, 0, 0, 0, N_("y = (Ax + B)"), ICON_NONE);
       uiItemFullR(first_row, ptr, prop, 1, 0, 0, "", ICON_NONE);
-      for (int i = 2; i < data->arraysize - 1; i++) {
+      for (int i = 2; i < data->arraysize - 1; i += 2) {
         /* \u2715 is the multiplication symbol. */
         uiLayout *row = uiLayoutRow(col, true);
         uiItemFullR(row, ptr, prop, i, 0, 0, N_("\u2715 (Ax + B)"), ICON_NONE);



More information about the Bf-blender-cvs mailing list