diff options
author | Jacques Lucke <jacques@blender.org> | 2022-01-04 22:13:35 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-01-04 22:13:35 +0300 |
commit | abaed315d5fc6914b824a2684e3e91891841ad86 (patch) | |
tree | 87b6b9b68237f5e3c58a59182db965f5b3781737 /source/blender/makesrna/intern | |
parent | 05a7f7c1fdc2e8688ce2aa4fba25bc58195129e1 (diff) |
initial scale faces mode
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index f7596d59d39..ba380583e88 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -11307,10 +11307,10 @@ static void def_geo_scale_elements(StructRNA *srna) }; prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE); - RNA_def_property_enum_items(prop, rna_enum_attribute_type_items); - RNA_def_property_enum_funcs(prop, NULL, NULL, "rna_GeometryNodeAttributeFill_type_itemf"); - RNA_def_property_enum_default(prop, CD_PROP_FLOAT); - RNA_def_property_ui_text(prop, "Data Type", ""); + RNA_def_property_enum_sdna(prop, NULL, "custom1"); + RNA_def_property_enum_items(prop, scale_elements_mode_items); + RNA_def_property_enum_default(prop, GEO_NODE_SCALE_ELEMENTS_MODE_FACE); + RNA_def_property_ui_text(prop, "Mode", "Element type to transform"); RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_GeometryNode_socket_update"); } |