diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-11 19:22:57 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-11 19:22:57 +0300 |
commit | 314525b8cfae9ca6a6aab79cd9b7061dda3f2db4 (patch) | |
tree | 3efba45452cda2975a2fb755fb37c874d05f9026 /source | |
parent | 196dfc01a3e99c3bef0e44acf599bca50ae0300e (diff) |
Fix T85555: Geometry Nodes: Attribute Vector Math Wrap is broken
This was just a copy and paste error / typo. The proper DNA variable
wasn't used. Thanks @charlie for finding the issue.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 5afc892820c..f9b5041b1cf 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -8609,9 +8609,9 @@ static void def_geo_attribute_vector_math(StructRNA *srna) RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); prop = RNA_def_property(srna, "input_type_c", PROP_ENUM, PROP_NONE); - RNA_def_property_enum_bitflag_sdna(prop, NULL, "input_type_b"); + RNA_def_property_enum_bitflag_sdna(prop, NULL, "input_type_c"); RNA_def_property_enum_items(prop, rna_node_geometry_attribute_input_type_items_vector); - RNA_def_property_ui_text(prop, "Input Type B", ""); + RNA_def_property_ui_text(prop, "Input Type C", ""); RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update"); } |