diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-09-03 18:25:30 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-09-03 18:26:12 +0300 |
commit | afb43b881cc3d036aba9ab7a2b1ec5e91f745eaa (patch) | |
tree | 966ee120d41d28d62786f2c6fe26f4901032b03e /source/blender/editors/include/ED_sculpt.h | |
parent | c8e5924cbb0b87fc429d0052ed6bdc5e30adcfd7 (diff) |
Sculpt: Face Set Extract Operator
This implements a Face Set Extract operator, which is similar to mask
extract. This operator uses a picker to select and Face Set in the mesh
and extract the geometry directly to a new object.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D8599
Diffstat (limited to 'source/blender/editors/include/ED_sculpt.h')
-rw-r--r-- | source/blender/editors/include/ED_sculpt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_sculpt.h b/source/blender/editors/include/ED_sculpt.h index bfc46534b99..1175d08399e 100644 --- a/source/blender/editors/include/ED_sculpt.h +++ b/source/blender/editors/include/ED_sculpt.h @@ -57,6 +57,10 @@ void ED_sculpt_undo_geometry_end(struct Object *ob); int ED_sculpt_face_sets_find_next_available_id(struct Mesh *mesh); void ED_sculpt_face_sets_initialize_none_to_id(struct Mesh *mesh, const int new_id); +int ED_sculpt_face_sets_active_update_and_get(struct bContext *C, + struct Object *ob, + const float mval[2]); + /* Undo for changes happening on a base mesh for multires sculpting. * if there is no multires sculpt active regular undo is used. */ void ED_sculpt_undo_push_multires_mesh_begin(struct bContext *C, const char *str); |