Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-03-07 19:31:32 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-03-07 19:31:32 +0300
commit76f9d83a19b9804f3f8997c35f4f77ace2d6fcbc (patch)
tree08306cb4dde56e6c1dae1618db88050e6cf6eb05 /source/blender/editors/animation
parentf130d4f2112c99225a22d99f3b61da16f30f42ef (diff)
parent60481e4d99920d28c840342c0b27fa083dd4ffd9 (diff)
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/fmodifier_ui.c2
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 8da96e4f42b..bdfec49fe42 100644
--- a/source/blender/editors/animation/fmodifier_ui.c
+++ b/source/blender/editors/animation/fmodifier_ui.c
@@ -411,7 +411,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);