diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-01-06 18:19:22 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-01-08 13:20:42 +0300 |
commit | 03f1d8acab5b96321935b03f7a402455d2a91fc8 (patch) | |
tree | a79ead3947eb29c3815d9e37b1826ef351063540 /source/blender/editors | |
parent | 4a0b8c9427b57422f47c125a494c4631a6c0bfd1 (diff) |
Use the term "N-gon" instead of "Polygon" for triangulation method
This was reported for the Triangulate geometry node, but was also true
for the triangulate modifier and in exporters.
Note the modifier was introduced with "Ngon Method" in rBa7b44c82e5b9 but
was renamed to "Polygon Method" in rBf4762eb12ba5.
Since quads are also polygons (and quads have their own method), the
term "N-gon" is more appropriate here and is also described in the
glossary https://docs.blender.org/manual/en/2.92/glossary/
index.html#term-N-gon
Docs have been updated in rBM7539 (partially - the method would also
have to be renamed once this patch lands).
Note this also fixes the wrong enum used for the alembic exporter.
Fixes T83907
Maniphest Tasks: T83907
Differential Revision: https://developer.blender.org/D10022
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/io/io_alembic.c | 6 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_tools.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/io/io_alembic.c b/source/blender/editors/io/io_alembic.c index 4d8e3c72c74..636e6688971 100644 --- a/source/blender/editors/io/io_alembic.c +++ b/source/blender/editors/io/io_alembic.c @@ -439,10 +439,10 @@ void WM_OT_alembic_export(wmOperatorType *ot) RNA_def_enum(ot->srna, "ngon_method", - rna_enum_modifier_triangulate_quad_method_items, + rna_enum_modifier_triangulate_ngon_method_items, MOD_TRIANGULATE_NGON_BEAUTY, - "Polygon Method", - "Method for splitting the polygons into triangles"); + "N-gon Method", + "Method for splitting the n-gons into triangles"); RNA_def_boolean(ot->srna, "export_hair", diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 26efcf88082..84f4e35cb0c 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -5340,8 +5340,8 @@ void MESH_OT_quads_convert_to_tris(wmOperatorType *ot) "ngon_method", rna_enum_modifier_triangulate_ngon_method_items, MOD_TRIANGULATE_NGON_BEAUTY, - "Polygon Method", - "Method for splitting the polygons into triangles"); + "N-gon Method", + "Method for splitting the n-gons into triangles"); } /** \} */ |