[Bf-blender-cvs] [dd985d7cc16] pygpu_extensions: Fix T85555: Geometry Nodes: Attribute Vector Math Wrap is broken
Hans Goudey
noreply at git.blender.org
Thu Feb 11 19:03:04 CET 2021
Commit: dd985d7cc160d18ec42c8fcb10d4dd4197ee1826
Author: Hans Goudey
Date: Thu Feb 11 10:22:57 2021 -0600
Branches: pygpu_extensions
https://developer.blender.org/rBdd985d7cc160d18ec42c8fcb10d4dd4197ee1826
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 c00f843c76e..610edb0e37c 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -8600,9 +8600,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