Fix #124310: Add override flag to prevent infinite recursion
The `enum_definition` property was changed by #121234 and now returns the node itself. This creates an infinite recursion in the override system that must be avoided by adding this flag. Pull Request: https://projects.blender.org/blender/blender/pulls/124347
This commit is contained in:
@@ -9788,6 +9788,7 @@ static void def_geo_menu_switch(StructRNA *srna)
|
||||
RNA_def_property_struct_type(prop, "Node");
|
||||
RNA_def_property_pointer_funcs(
|
||||
prop, "rna_NodeMenuSwitch_enum_definition_get", nullptr, nullptr, nullptr);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Enum Definition (deprecated)",
|
||||
"The enum definition can now be accessed directly on the node. This "
|
||||
|
||||
Reference in New Issue
Block a user