[Bf-blender-cvs] [b9a4bbd2cec] greasepencil-object: GPencil: Remove Icon from Display panel
Antonio Vazquez
noreply at git.blender.org
Fri Nov 22 23:09:28 CET 2019
Commit: b9a4bbd2cec2a27d9416888e826c68c2ad3e471c
Author: Antonio Vazquez
Date: Fri Nov 22 23:09:19 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rBb9a4bbd2cec2a27d9416888e826c68c2ad3e471c
GPencil: Remove Icon from Display panel
===================================================================
M release/scripts/startup/bl_ui/properties_grease_pencil_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 802f1cdbe45..343a0791db5 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -311,17 +311,6 @@ class GreasePencilAppearancePanel:
if ob.mode == 'VERTEX_GPENCIL':
col.prop(brush, "cursor_color_add", text="Add")
- sub = layout.column(align=True)
- sub.enabled = not brush.use_custom_icon
- if ob.mode == 'PAINT_GPENCIL':
- sub.prop(gp_settings, "gpencil_paint_icon", text="Icon")
- elif ob.mode == 'SCULPT_GPENCIL':
- sub.prop(gp_settings, "gpencil_sculpt_icon", text="Icon")
- elif ob.mode == 'WEIGHT_GPENCIL':
- sub.prop(gp_settings, "gpencil_weight_icon", text="Icon")
- elif ob.mode == 'VERTEX_GPENCIL':
- sub.prop(gp_settings, "gpencil_vertex_icon", text="Icon")
-
col = layout.column()
col.prop(brush, "use_custom_icon")
More information about the Bf-blender-cvs
mailing list