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:
authorCampbell Barton <ideasman42@gmail.com>2019-01-08 15:46:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-08 15:49:58 +0300
commit24a84c4742576ab1ade54933ae95c1cb983a5f92 (patch)
tree680e132614e56da344fa6342a339d1c6c83fb52d /release
parent395120ed72e9cca0a21a876a46fec19e1531f59f (diff)
Fix T60314: Missing strength w/ weight gradient
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_toolbar.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index 2678620ea8b..125ac67a816 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -934,7 +934,10 @@ class _defs_weight_paint:
brush = context.tool_settings.weight_paint.brush
if brush is not None:
from .properties_paint_common import UnifiedPaintPanel
- UnifiedPaintPanel.prop_unified_weight(layout, context, brush, "weight", slider=True, text="Weight")
+ UnifiedPaintPanel.prop_unified_weight(
+ layout, context, brush, "weight", slider=True, text="Weight")
+ UnifiedPaintPanel.prop_unified_strength(
+ layout, context, brush, "strength", slider=True, text="Strength")
props = tool.operator_properties("paint.weight_gradient")
layout.prop(props, "type")