diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-12-14 13:30:43 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-12-14 13:31:01 +0300 |
commit | 8e1b63d4bd5bd5bc26baf62e9c0771e7b563aa59 (patch) | |
tree | 8eb31784060e7882ef35e43c8293a4ae9057e61c /release/scripts/startup/bl_ui/properties_paint_common.py | |
parent | 5d570c875eda8fb9aa3635f7f4edac0dc1eaedc8 (diff) |
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.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_paint_common.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_paint_common.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |