diff options
author | Howard Trickey <howard.trickey@gmail.com> | 2022-07-02 17:14:26 +0300 |
---|---|---|
committer | Howard Trickey <howard.trickey@gmail.com> | 2022-07-02 17:14:26 +0300 |
commit | 01d7dedd745e2dce6f0f7857367ad8507ed60178 (patch) | |
tree | 1dd2c2002178291273f0809284fbc6660a14ca70 /source/blender/makesrna/intern/rna_nodetree.c | |
parent | 9bb2afb55e50f9353cfc76cf2d8df7521b0b5feb (diff) |
Revert "Start of Bevel V2, as being worked on with task T98674."
This reverts commit 9bb2afb55e50f9353cfc76cf2d8df7521b0b5feb.
Oops, did not intend to commit this to master.
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 2966dc97519..386ef3f74a3 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -9551,27 +9551,6 @@ static void def_geo_extrude_mesh(StructRNA *srna) RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); } -static void def_geo_bevel_mesh(StructRNA *srna) -{ - PropertyRNA *prop; - - static const EnumPropertyItem mode_items[] = { - {GEO_NODE_BEVEL_MESH_VERTICES, "VERTICES", 0, "Vertices", ""}, - {GEO_NODE_BEVEL_MESH_EDGES, "EDGES", 0, "Edges", ""}, - {GEO_NODE_BEVEL_MESH_FACES, "FACES", 0, "Faces", ""}, - {0, NULL, 0, NULL, NULL}, - }; - - RNA_def_struct_sdna_from(srna, "NodeGeometryBevelMesh", "storage"); - - prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE); - RNA_def_property_enum_sdna(prop, NULL, "mode"); - RNA_def_property_enum_items(prop, mode_items); - RNA_def_property_enum_default(prop, GEO_NODE_BEVEL_MESH_FACES); - RNA_def_property_ui_text(prop, "Mode", ""); - RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); -} - static void def_geo_distribute_points_on_faces(StructRNA *srna) { PropertyRNA *prop; |