Fix T60314: Missing strength w/ weight gradient

This commit is contained in:
Campbell Barton 2019-01-08 23:46:55 +11:00
parent 395120ed72
commit 24a84c4742
Notes: blender-bot 2023-02-14 04:09:04 +01:00
Referenced by issue #60314, Weight Paint Gradient Tool: missing Strength tool setting
1 changed files with 4 additions and 1 deletions

View File

@ -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")