Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 5,895 Lines • ▼ Show 20 Lines | static void rna_def_modifier_triangulate(BlenderRNA *brna) | ||||
| RNA_def_property_enum_items(prop, rna_enum_modifier_triangulate_quad_method_items); | RNA_def_property_enum_items(prop, rna_enum_modifier_triangulate_quad_method_items); | ||||
| RNA_def_property_ui_text(prop, "Quad Method", "Method for splitting the quads into triangles"); | RNA_def_property_ui_text(prop, "Quad Method", "Method for splitting the quads into triangles"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "ngon_method", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "ngon_method", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "ngon_method"); | RNA_def_property_enum_sdna(prop, NULL, "ngon_method"); | ||||
| RNA_def_property_enum_items(prop, rna_enum_modifier_triangulate_ngon_method_items); | RNA_def_property_enum_items(prop, rna_enum_modifier_triangulate_ngon_method_items); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Polygon Method", "Method for splitting the polygons into triangles"); | prop, "N-gon Method", "Method for splitting the n-gons into triangles"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "min_vertices", PROP_INT, PROP_UNSIGNED); | prop = RNA_def_property(srna, "min_vertices", PROP_INT, PROP_UNSIGNED); | ||||
| RNA_def_property_int_sdna(prop, NULL, "min_vertices"); | RNA_def_property_int_sdna(prop, NULL, "min_vertices"); | ||||
| RNA_def_property_range(prop, 4, INT_MAX); | RNA_def_property_range(prop, 4, INT_MAX); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Minimum Vertices", | "Minimum Vertices", | ||||
| ▲ Show 20 Lines • Show All 1,460 Lines • Show Last 20 Lines | |||||