From 314525b8cfae9ca6a6aab79cd9b7061dda3f2db4 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 11 Feb 2021 10:22:57 -0600 Subject: 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. --- source/blender/makesrna/intern/rna_nodetree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_nodetree.c') 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"); } -- cgit v1.2.3