From 2672552cf7a7296be085d273aacc2505818cf9cc Mon Sep 17 00:00:00 2001 From: Antonioya Date: Sun, 3 Feb 2019 13:27:25 +0100 Subject: 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. --- release/scripts/startup/bl_ui/space_view3d_toolbar.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py') 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: -- cgit v1.2.3