diff options
author | Antonioya <blendergit@gmail.com> | 2018-09-30 14:54:23 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-09-30 14:54:23 +0300 |
commit | 8c3077ff94ecd25f55c46ac9dd792c27bda4e75b (patch) | |
tree | 8349efd8183e7065bcf9abd1615b07e790e4207a /release | |
parent | 419fd80d46ab7be516cd505d062406dca87d3b65 (diff) |
Fix T56970 GP: Sculpt mode : Grap tool doesn't work
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 4 |
1 files changed, 3 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 188b0fbd65a..7f6a47221c3 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -254,7 +254,9 @@ class GreasePencilStrokeSculptPanel: row = layout.row(align=True) row.prop(brush, "size", slider=True) - row.prop(brush, "use_pressure_radius", text="") + sub = row.row(align=True) + sub.enabled = tool not in {'GRAB', 'CLONE'} + sub.prop(brush, "use_pressure_radius", text="") row = layout.row(align=True) row.prop(brush, "strength", slider=True) |