diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index d531e2d5f9b..c5feb485355 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -1132,12 +1132,12 @@ class _defs_weight_paint: @ToolDef.from_fn def gradient(): def draw_settings(context, layout, tool): - props = tool.operator_properties("paint.weight_gradient") - layout.prop(props, "type") 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") + props = tool.operator_properties("paint.weight_gradient") + layout.prop(props, "type") return dict( text="Gradient", |