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.
This commit is contained in:
Antonio Vazquez 2020-12-14 11:30:43 +01:00
parent 5d570c875e
commit 8e1b63d4bd
1 changed files with 1 additions and 0 deletions

View File

@ -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)