[Bf-blender-cvs] [494b75c654a] lanpr-under-gp: LineArt: Remove duplicated "use" phrase in modifier UI.

YimingWu noreply at git.blender.org
Wed Jul 22 08:10:37 CEST 2020


Commit: 494b75c654a7ad96fbb2fd41b77643900edf321e
Author: YimingWu
Date:   Wed Jul 22 14:08:40 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rB494b75c654a7ad96fbb2fd41b77643900edf321e

LineArt: Remove duplicated "use" phrase in modifier UI.

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

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

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

diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
index 497c4f071cc..e0fabcd71db 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -304,10 +304,10 @@ static void panel_draw(const bContext *C, Panel *panel)
   }
 
   uiItemR(layout, &ptr, "use_contour", 0, NULL, ICON_NONE);
-  uiItemR(layout, &ptr, "use_crease", 0, NULL, ICON_NONE);
-  uiItemR(layout, &ptr, "use_material", 0, NULL, ICON_NONE);
-  uiItemR(layout, &ptr, "use_edge_mark", 0, NULL, ICON_NONE);
-  uiItemR(layout, &ptr, "use_intersection", 0, NULL, ICON_NONE);
+  uiItemR(layout, &ptr, "use_crease", 0, "Crease", ICON_NONE);
+  uiItemR(layout, &ptr, "use_material", 0, "Material", ICON_NONE);
+  uiItemR(layout, &ptr, "use_edge_mark", 0, "Edge Marks", ICON_NONE);
+  uiItemR(layout, &ptr, "use_intersection", 0, "Intersection", ICON_NONE);
 
   uiItemPointerR(layout, &ptr, "target_layer", &obj_data_ptr, "layers", NULL, ICON_GREASEPENCIL);
   uiItemPointerR(



More information about the Bf-blender-cvs mailing list