diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-25 21:43:50 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-25 21:43:50 +0300 |
commit | 0f7e858f069d7d4f00bdcaa68e293b7b48bda3fc (patch) | |
tree | db2c7507ca4ceb53346b115bd0f6a93dbcc9e288 /release | |
parent | 9df3467b4ea3851f1897d93c4aaa8c75d55ab4be (diff) |
GP: New pressure option for sculpt brush radius
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index dc0999ed5a1..c31c982eb87 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -252,7 +252,10 @@ class GreasePencilStrokeSculptPanel: layout.template_icon_view(settings, "tool", show_labels=True) - layout.prop(brush, "size", slider=True) + row = layout.row(align=True) + row.prop(brush, "size", slider=True) + row.prop(brush, "use_pressure_radius", text="") + row = layout.row(align=True) row.prop(brush, "strength", slider=True) row.prop(brush, "use_pressure_strength", text="") |