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/makesdna | |
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/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 99b9b4ce361..126ef912b15 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -1551,7 +1551,7 @@ typedef struct TriangulateModifierData { int flag; int quad_method; int ngon_method; - char _pad[4]; + int min_vertices; } TriangulateModifierData; /* TriangulateModifierData.flag */ |