diff options
author | Antonioya <blendergit@gmail.com> | 2019-02-03 15:27:25 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2019-02-03 15:27:47 +0300 |
commit | 2672552cf7a7296be085d273aacc2505818cf9cc (patch) | |
tree | 7decbae77b979c764be8207eef404d26ad04e28f /release/scripts/startup/bl_ui | |
parent | 2a237377ce390509bfd18cf70f645d17d8bc92aa (diff) |
T61140 Shortcut Eraser and Eraser are not the same
Set default eraser with the last eraser used, and remove the toggle button from UI panel.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 2155db9e722..3bfd2242a7c 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1485,10 +1485,7 @@ class VIEW3D_PT_tools_grease_pencil_brush(View3DPanel, Panel): if brush is not None: gp_settings = brush.gpencil_settings - # XXX: Items in "sub" currently show up beside the brush selector in a separate column - if brush.gpencil_tool == 'ERASE': - sub.prop(gp_settings, "use_default_eraser", text="") - elif brush.gpencil_tool in {'DRAW', 'FILL'}: + if brush.gpencil_tool in {'DRAW', 'FILL'}: layout.row(align=True).template_ID(gp_settings, "material") if not self.is_popover: |