[Bf-blender-cvs] [24a84c47425] master: Fix T60314: Missing strength w/ weight gradient
Campbell Barton
noreply at git.blender.org
Tue Jan 8 13:50:19 CET 2019
Commit: 24a84c4742576ab1ade54933ae95c1cb983a5f92
Author: Campbell Barton
Date: Tue Jan 8 23:46:55 2019 +1100
Branches: master
https://developer.blender.org/rB24a84c4742576ab1ade54933ae95c1cb983a5f92
Fix T60314: Missing strength w/ weight gradient
===================================================================
M release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
===================================================================
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")
More information about the Bf-blender-cvs
mailing list