diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-09-05 21:06:27 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-09-07 18:31:34 +0300 |
commit | 675c9644420eba96751e1cadedd2656a8bc39191 (patch) | |
tree | 6801746d154bea43a4e1caf17603e397ed945129 /source/blender/editors/sculpt_paint/sculpt_intern.h | |
parent | 1dc11d15a60b1fdb21f72c9bd39ba27e3acdb80f (diff) |
Sculpt: Sculpt Trimming gestures tools
This implements Box Trim as a boolean based trimming too gesture in sculpt
mode. This is the intended way to remove parts of the sculpt instead of
using box mask and mask slice. It also creates new face sets for the new
faces created after the boolean operation.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D8766
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_intern.h')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 9f28bd59d87..620033422b2 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -1057,6 +1057,9 @@ bool SCULPT_get_redraw_rect(struct ARegion *region, void SCULPT_OT_face_set_lasso_gesture(struct wmOperatorType *ot); void SCULPT_OT_face_set_box_gesture(struct wmOperatorType *ot); +void SCULPT_OT_trim_lasso_gesture(struct wmOperatorType *ot); +void SCULPT_OT_trim_box_gesture(struct wmOperatorType *ot); + /* Face Sets. */ void SCULPT_OT_face_sets_randomize_colors(struct wmOperatorType *ot); void SCULPT_OT_face_sets_change_visibility(struct wmOperatorType *ot); |