Sculpt: Add normal orientation to lasso trim tool

This adds an option to orientate the trimming shape using the surface
normal instead of the view when lasso trim is used.

Reviewed By: dbystedt, sergey

Differential Revision: https://developer.blender.org/D9231
This commit is contained in:
2020-10-30 01:16:14 +01:00
parent 492a9e4023
commit 15cb67e0b0
3 changed files with 100 additions and 21 deletions

View File

@@ -1320,6 +1320,7 @@ class _defs_sculpt:
def draw_settings(_context, layout, tool):
props = tool.operator_properties("sculpt.trim_lasso_gesture")
layout.prop(props, "trim_mode", expand=False)
layout.prop(props, "trim_orientation", expand=False)
layout.prop(props, "use_cursor_depth", expand=False)
return dict(
idname="builtin.lasso_trim",