[Bf-blender-cvs] [314525b8cfa] blender-v2.92-release: Fix T85555: Geometry Nodes: Attribute Vector Math Wrap is broken

Hans Goudey noreply at git.blender.org
Thu Feb 11 17:23:05 CET 2021


Commit: 314525b8cfae9ca6a6aab79cd9b7061dda3f2db4
Author: Hans Goudey
Date:   Thu Feb 11 10:22:57 2021 -0600
Branches: blender-v2.92-release
https://developer.blender.org/rB314525b8cfae9ca6a6aab79cd9b7061dda3f2db4

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.

===================================================================

M	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");
 }



More information about the Bf-blender-cvs mailing list