Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
| Show First 20 Lines • Show All 1,685 Lines • ▼ Show 20 Lines | def gradient(): | ||||
| brush, | brush, | ||||
| "strength", | "strength", | ||||
| unified_name="use_unified_strength", | unified_name="use_unified_strength", | ||||
| header=True | header=True | ||||
| ) | ) | ||||
| props = tool.operator_properties("paint.weight_gradient") | props = tool.operator_properties("paint.weight_gradient") | ||||
| layout.prop(props, "type", expand=True) | layout.prop(props, "type", expand=True) | ||||
| layout.popover("VIEW3D_PT_tools_weight_gradient") | |||||
| return dict( | return dict( | ||||
| idname="builtin.gradient", | idname="builtin.gradient", | ||||
| label="Gradient", | label="Gradient", | ||||
| icon="ops.paint.weight_gradient", | icon="ops.paint.weight_gradient", | ||||
| widget=None, | widget=None, | ||||
| keymap=(), | keymap=(), | ||||
| draw_settings=draw_settings, | draw_settings=draw_settings, | ||||
| ▲ Show 20 Lines • Show All 1,431 Lines • Show Last 20 Lines | |||||