[Bf-blender-cvs] [c8b611b67fc] master: Fix UI alignment in generator f-curve modifier.

Yevgeny Makarov noreply at git.blender.org
Thu Mar 19 21:57:58 CET 2020


Commit: c8b611b67fce813a56138af880d5695f1dcad590
Author: Yevgeny Makarov
Date:   Thu Mar 19 20:29:40 2020 +0100
Branches: master
https://developer.blender.org/rBc8b611b67fce813a56138af880d5695f1dcad590

Fix UI alignment in generator f-curve modifier.

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

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

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 705351522f8..9bdfd9cfe33 100644
--- a/source/blender/editors/animation/fmodifier_ui.c
+++ b/source/blender/editors/animation/fmodifier_ui.c
@@ -274,7 +274,7 @@ static void draw_modifier__generator(uiLayout *layout,
 
         /* 'x' param (and '+' if necessary) */
         if (i == 0) {
-          BLI_strncpy(xval, "", sizeof(xval));
+          BLI_strncpy(xval, " ", sizeof(xval));
         }
         else if (i == 1) {
           BLI_strncpy(xval, "x", sizeof(xval));



More information about the Bf-blender-cvs mailing list