diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-10 16:18:51 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2019-09-10 16:19:48 +0300 |
commit | cfb3011e521499862aff55965479fcbebc1c44bd (patch) | |
tree | fdca039762864dec119ca09079c3f835564e5875 /source/blender/editors/mesh/mesh_intern.h | |
parent | 0083c96125926d4e76525ff1bbd08a3f1f20307b (diff) |
Sculpt: Mask Extract operator
This operator extracts the paint mask to a new mesh object. It can extract the paint mask creating a boundary loop in the geometry, making it ready for adding a subdivision surface modifier.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5384
Diffstat (limited to 'source/blender/editors/mesh/mesh_intern.h')
-rw-r--r-- | source/blender/editors/mesh/mesh_intern.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/mesh_intern.h b/source/blender/editors/mesh/mesh_intern.h index 8332cb71f95..8d340d93c0a 100644 --- a/source/blender/editors/mesh/mesh_intern.h +++ b/source/blender/editors/mesh/mesh_intern.h @@ -79,6 +79,11 @@ struct BMElem *EDBM_elem_from_selectmode(struct BMEditMesh *em, int EDBM_elem_to_index_any(struct BMEditMesh *em, struct BMElem *ele); struct BMElem *EDBM_elem_from_index_any(struct BMEditMesh *em, int index); +bool edbm_extrude_edges_indiv(struct BMEditMesh *em, + struct wmOperator *op, + const char hflag, + const bool use_normal_flip); + /* *** editmesh_add.c *** */ void MESH_OT_primitive_plane_add(struct wmOperatorType *ot); void MESH_OT_primitive_cube_add(struct wmOperatorType *ot); @@ -246,6 +251,9 @@ void MESH_OT_average_normals(struct wmOperatorType *ot); void MESH_OT_smoothen_normals(struct wmOperatorType *ot); void MESH_OT_mod_weighted_strength(struct wmOperatorType *ot); +/* *** editmesh_mask_extract.c *** */ +void MESH_OT_paint_mask_extract(struct wmOperatorType *ot); + struct wmKeyMap *point_normals_modal_keymap(wmKeyConfig *keyconf); #ifdef WITH_FREESTYLE |