Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsh Bosamiya <ishbosamiya>2019-03-22 19:55:51 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-03-22 20:11:14 +0300
commitda5b6ed75bf08141dd19a0cc143d1a91b14a0f24 (patch)
tree761250222839c8c9800de88329d153a5ce7daf10 /source/blender/bmesh/tools/bmesh_triangulate.h
parentc89dcc89e6ebc3882f66b3536a51bae83807ad6b (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.h3
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__ */