diff options
author | Antonioya <blendergit@gmail.com> | 2018-11-21 11:03:17 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-11-21 11:03:17 +0300 |
commit | 3a64d7ca48cc238c706197eebecfc19e7ec15053 (patch) | |
tree | 801d19d11eb846bd53d6d464c0085ad21a0d73cc /release/scripts/startup/bl_ui/space_topbar.py | |
parent | 7de712e1e54e6a94cccee25cef207169898507c5 (diff) |
GP: Remove Target Weight switch
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index 9303bbb47c0..8b9c47839e9 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -408,11 +408,7 @@ class _draw_left_context_mode: row.prop(brush, "strength", slider=True) row.prop(brush, "use_pressure_strength", text="") - row = layout.row(align=True) - row.prop(brush, "use_target_weight", text="", icon='WPAINT_HLT') - sub = row.row(align=True) - sub.enabled = brush.use_target_weight - sub.prop(brush, "target_weight", slider=True) + layout.prop(brush, "target_weight", slider=True) @staticmethod def PARTICLE(context, layout, tool): |