Fix T96195: f-curve factorized polynomial generator broken UI

The polynomial parameters were not shown correctly.

Differential Revision: https://developer.blender.org/D14254
This commit is contained in:
Ethan-Hall 2022-03-07 15:58:24 +01:00 committed by Brecht Van Lommel
parent 5dca3ee6a2
commit 60481e4d99
Notes: blender-bot 2023-02-14 11:42:40 +01:00
Referenced by issue #88449: Blender LTS: Maintenance Task 2.93
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
Referenced by issue #96195, generator modifier  : factorized polynomial don't work properly
1 changed files with 1 additions and 1 deletions

View File

@ -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, IFACE_("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, IFACE_("\u2715 (Ax + B)"), ICON_NONE);