diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-14 22:58:29 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-14 23:54:18 +0300 |
commit | 460731f39e438cf283080d9bd138c622eb255504 (patch) | |
tree | 37ddfac26d6f6bb41ca0b43aed643f49e032bf41 /release/scripts | |
parent | 424aeda11281ca9c02475417375ead4ed00bd142 (diff) |
GP: Some changes to eraser panel
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 1ef13a89548..2ebcc48810c 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1421,14 +1421,12 @@ class VIEW3D_PT_tools_grease_pencil_brush(View3DPanel, Panel): if gp_settings.gpencil_brush_type == 'ERASE': row = layout.row(align=True) row.prop(brush, "size", text="Radius") - row = layout.row(align=True) - row.prop(gp_settings, "pen_strength", slider=True) - row.prop(gp_settings, "use_strength_pressure", text="", icon='STYLUS_PRESSURE') - row = layout.row(align=True) - row.prop(gp_settings, "eraser_mode", expand=True) if gp_settings.eraser_mode == 'SOFT': row = layout.row(align=True) + row.prop(gp_settings, "pen_strength", slider=True) + row.prop(gp_settings, "use_strength_pressure", text="", icon='STYLUS_PRESSURE') + row = layout.row(align=True) row.prop(gp_settings, "eraser_strength_factor") row = layout.row(align=True) row.prop(gp_settings, "eraser_thickness_factor") |