diff options
author | Ish Bosamiya <ishbosamiya> | 2019-03-22 19:55:51 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-22 20:11:14 +0300 |
commit | da5b6ed75bf08141dd19a0cc143d1a91b14a0f24 (patch) | |
tree | 761250222839c8c9800de88329d153a5ce7daf10 /source/blender/bmesh/tools/bmesh_triangulate.h | |
parent | c89dcc89e6ebc3882f66b3536a51bae83807ad6b (diff) |
Modifiers: add minimum number of vertices to triangulate modifier.
This lets you only triangulate n-gons when setting the number to 5 or more.
Differential Revision: https://developer.blender.org/D4367
Diffstat (limited to 'source/blender/bmesh/tools/bmesh_triangulate.h')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_triangulate.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_triangulate.h b/source/blender/bmesh/tools/bmesh_triangulate.h index 1b312ebadbf..b254246720c 100644 --- a/source/blender/bmesh/tools/bmesh_triangulate.h +++ b/source/blender/bmesh/tools/bmesh_triangulate.h @@ -24,7 +24,8 @@ #define __BMESH_TRIANGULATE_H__ void BM_mesh_triangulate( - BMesh *bm, const int quad_method, const int ngon_method, const bool tag_only, + BMesh *bm, const int quad_method, const int ngon_method, + const int min_vertices, const bool tag_only, BMOperator *op, BMOpSlot *slot_facemap_out, BMOpSlot *slot_doubles_out); #endif /* __BMESH_TRIANGULATE_H__ */ |