diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_toolsystem_toolbar.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_toolsystem_toolbar.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py index 3f7a3604741..744726af5d1 100644 --- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py +++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py @@ -1325,6 +1325,16 @@ class _defs_sculpt: ) @ToolDef.from_fn + def project_line(): + return dict( + idname="builtin.line_project", + label="Line Project", + icon="ops.sculpt.line_project", + widget=None, + keymap=(), + ) + + @ToolDef.from_fn def mesh_filter(): def draw_settings(_context, layout, tool): props = tool.operator_properties("sculpt.mesh_filter") @@ -2702,6 +2712,13 @@ class VIEW3D_PT_tools_active(ToolSelectPanelHelper, Panel): context.preferences.experimental.use_tools_missing_icons) else () ), + lambda context: ( + (_defs_sculpt.project_line,) + if context is None or ( + context.preferences.view.show_developer_ui and + context.preferences.experimental.use_tools_missing_icons) + else () + ), None, _defs_sculpt.mesh_filter, _defs_sculpt.cloth_filter, |