Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-11-21 11:03:17 +0300
committerAntonioya <blendergit@gmail.com>2018-11-21 11:03:17 +0300
commit3a64d7ca48cc238c706197eebecfc19e7ec15053 (patch)
tree801d19d11eb846bd53d6d464c0085ad21a0d73cc /release/scripts/startup/bl_ui/space_topbar.py
parent7de712e1e54e6a94cccee25cef207169898507c5 (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.py6
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):