[Bf-blender-cvs] [301ee97b935] master: Fix: Unable to select left and right in set handle type node
Hans Goudey
noreply at git.blender.org
Mon Oct 4 18:10:20 CEST 2021
Commit: 301ee97b935376027503338977b3e59d8a0103e2
Author: Hans Goudey
Date: Mon Oct 4 11:10:08 2021 -0500
Branches: master
https://developer.blender.org/rB301ee97b935376027503338977b3e59d8a0103e2
Fix: Unable to select left and right in set handle type node
The "enum" RNA flag was missing.
===================================================================
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 625a5fb5606..ddd2a3fcee0 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -9667,6 +9667,7 @@ static void def_geo_curve_set_handles(StructRNA *srna)
prop = RNA_def_property(srna, "mode", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_items(prop, rna_node_geometry_curve_handle_side_items);
RNA_def_property_ui_text(prop, "Mode", "Whether to update left and right handles");
+ RNA_def_property_flag(prop, PROP_ENUM_FLAG);
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_socket_update");
}
More information about the Bf-blender-cvs
mailing list