diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-13 19:34:34 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-13 19:34:34 +0300 |
commit | d6f896da22649551f7115531b1a37c13e0c071a3 (patch) | |
tree | 03d7a006df2df3a22a6a0844da5fb868b3f48889 /release/scripts/startup/bl_ui/space_view3d_toolbar.py | |
parent | 74a3519a15e27b139bd5e07ea5b7e6e8962d276a (diff) |
GP: Add strength factor for eraser brush
This gives more control.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 8 |
1 files changed, 4 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 e1f9abfdae7..9f60563dff7 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1421,11 +1421,11 @@ 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.prop(gp_settings, "use_pressure", text="", icon='STYLUS_PRESSURE') + row = layout.row(align=True) + row.prop(gp_settings, "pen_strength", slider=True) + row.prop(gp_settings, "use_strength_pressure", text="", icon='STYLUS_PRESSURE') - col = layout.column(align=True) - col.separator() - row = col.row() + row = layout.row(align=True) row.prop(gp_settings, "eraser_mode", expand=True) elif gp_settings.gpencil_brush_type == 'FILL': col = layout.column(align=True) |