[Bf-blender-cvs] [6d493351371] modifier-panels-ui: Array: Avoid redundant label

Hans Goudey noreply at git.blender.org
Wed Apr 29 23:03:45 CEST 2020


Commit: 6d493351371c8a8fa7e2a91701a026bcdd0aaffb
Author: Hans Goudey
Date:   Wed Apr 29 16:03:16 2020 -0500
Branches: modifier-panels-ui
https://developer.blender.org/rB6d493351371c8a8fa7e2a91701a026bcdd0aaffb

Array: Avoid redundant label

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

M	source/blender/modifiers/intern/MOD_array.c

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

diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c
index fd84c47cec3..42d471e5f86 100644
--- a/source/blender/modifiers/intern/MOD_array.c
+++ b/source/blender/modifiers/intern/MOD_array.c
@@ -942,7 +942,7 @@ static void object_offset_draw(const bContext *C, Panel *panel)
   uiLayout *col = uiLayoutColumn(layout, false);
 
   uiLayoutSetActive(col, RNA_boolean_get(&ptr, "use_object_offset"));
-  uiItemR(col, &ptr, "offset_object", 0, NULL, ICON_NONE);
+  uiItemR(col, &ptr, "offset_object", 0, IFACE_("Object"), ICON_NONE);
 }
 
 static void symmetry_panel_header_draw(const bContext *C, Panel *panel)



More information about the Bf-blender-cvs mailing list