[Bf-blender-cvs] [8e1b63d4bd5] master: GPencil: Add missing Pin icon for default eraser
Antonio Vazquez
noreply at git.blender.org
Mon Dec 14 11:31:06 CET 2020
Commit: 8e1b63d4bd5bd5bc26baf62e9c0771e7b563aa59
Author: Antonio Vazquez
Date: Mon Dec 14 11:30:43 2020 +0100
Branches: master
https://developer.blender.org/rB8e1b63d4bd5bd5bc26baf62e9c0771e7b563aa59
GPencil: Add missing Pin icon for default eraser
This icon allows to set the default eraser when press Ctrl key and was removed by error in the brush refactor.
===================================================================
M release/scripts/startup/bl_ui/properties_paint_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_paint_common.py b/release/scripts/startup/bl_ui/properties_paint_common.py
index 1ae1826b609..7e9e15c30da 100644
--- a/release/scripts/startup/bl_ui/properties_paint_common.py
+++ b/release/scripts/startup/bl_ui/properties_paint_common.py
@@ -1194,6 +1194,7 @@ def brush_basic_gpencil_paint_settings(layout, context, brush, *, compact=False)
row.prop(brush, "size", text="Radius")
row.prop(gp_settings, "use_pressure", text="", icon='STYLUS_PRESSURE')
row.prop(gp_settings, "use_occlude_eraser", text="", icon='XRAY')
+ row.prop(gp_settings, "use_default_eraser", text="")
row = layout.row(align=True)
row.prop(gp_settings, "eraser_mode", expand=True)
More information about the Bf-blender-cvs
mailing list