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:
parent
fc56ef5f97
commit
fe6999352a
Notes:
blender-bot
2023-02-13 16:06:10 +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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue