[Bf-blender-cvs] [10130840383] master: GPencil: Small UI tweaks to Build modifier

Antonio Vazquez noreply at git.blender.org
Tue Mar 29 17:38:26 CEST 2022


Commit: 101308403833aedbfef1d105424867a8f787d7b6
Author: Antonio Vazquez
Date:   Tue Mar 29 17:37:06 2022 +0200
Branches: master
https://developer.blender.org/rB101308403833aedbfef1d105424867a8f787d7b6

GPencil: Small UI tweaks to Build modifier

Changes in some names.

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

M	source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c

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

diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
index 18ce9a12f7b..4fa9bd0f508 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilbuild.c
@@ -756,7 +756,7 @@ static void panel_draw(const bContext *UNUSED(C), Panel *panel)
 
   uiItemS(layout);
 
-  row = uiLayoutRowWithHeading(layout, true, IFACE_("Use Factor"));
+  row = uiLayoutRowWithHeading(layout, true, IFACE_("Factor"));
   uiLayoutSetPropDecorate(row, false);
   uiItemR(row, ptr, "use_percentage", 0, "", ICON_NONE);
   sub = uiLayoutRow(row, true);
@@ -809,7 +809,7 @@ static void fading_header_draw(const bContext *UNUSED(C), Panel *panel)
 
   PointerRNA *ptr = gpencil_modifier_panel_get_property_pointers(panel, NULL);
 
-  uiItemR(layout, ptr, "use_fading", 0, IFACE_("Fading"), ICON_NONE);
+  uiItemR(layout, ptr, "use_fading", 0, IFACE_("Fade"), ICON_NONE);
 }
 
 static void fading_panel_draw(const bContext *UNUSED(C), Panel *panel)
@@ -825,8 +825,8 @@ static void fading_panel_draw(const bContext *UNUSED(C), Panel *panel)
   uiItemR(layout, ptr, "fade_factor", 0, IFACE_("Factor"), ICON_NONE);
 
   col = uiLayoutColumn(layout, true);
-  uiItemR(col, ptr, "fade_thickness_strength", 0, NULL, ICON_NONE);
-  uiItemR(col, ptr, "fade_opacity_strength", 0, NULL, ICON_NONE);
+  uiItemR(col, ptr, "fade_thickness_strength", 0, IFACE_("Thickness"), ICON_NONE);
+  uiItemR(col, ptr, "fade_opacity_strength", 0, IFACE_("Opacity"), ICON_NONE);
 
   uiItemPointerR(layout,
                  ptr,



More information about the Bf-blender-cvs mailing list