diff options
author | Ethan-Hall <Ethan1080> | 2022-03-07 17:58:24 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-03-07 19:30:30 +0300 |
commit | 60481e4d99920d28c840342c0b27fa083dd4ffd9 (patch) | |
tree | 5aaf587d6bdb0809236d3d0fee83fc1c30adf172 /source/blender/editors/animation | |
parent | 5dca3ee6a23f002b59c78c54da53c9f45e2d1173 (diff) |
Fix T96195: f-curve factorized polynomial generator broken UI
The polynomial parameters were not shown correctly.
Differential Revision: https://developer.blender.org/D14254
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/fmodifier_ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/fmodifier_ui.c b/source/blender/editors/animation/fmodifier_ui.c index c4d8484e6a8..8e0fad2d513 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, 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); |