Fix T101341: make nodegroups active input/output non-animatable
Active UI list index is usually not animatable. Here specifically, the active list index is oly used for operators acting on a specific (active) socket. Note other props here were already made non-animatable in rB1d3b92bdeabc. Maniphest Tasks: T101341 Differential Revision: https://developer.blender.org/D16077
This commit is contained in:
parent
93bbaad2f8
commit
5041666321
Notes:
blender-bot
2023-02-14 07:39:44 +01:00
Referenced by issue #100749, Blender LTS: Maintenance Task 3.3 Referenced by issue #101341, Node editor: Add driver to socket slots list?
|
@ -12592,6 +12592,7 @@ static void rna_def_nodetree(BlenderRNA *brna)
|
|||
RNA_def_property_int_funcs(
|
||||
prop, "rna_NodeTree_active_input_get", "rna_NodeTree_active_input_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Active Input", "Index of the active input");
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_update(prop, NC_NODE, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "outputs", PROP_COLLECTION, PROP_NONE);
|
||||
|
@ -12605,6 +12606,7 @@ static void rna_def_nodetree(BlenderRNA *brna)
|
|||
RNA_def_property_int_funcs(
|
||||
prop, "rna_NodeTree_active_output_get", "rna_NodeTree_active_output_set", NULL);
|
||||
RNA_def_property_ui_text(prop, "Active Output", "Index of the active output");
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_update(prop, NC_NODE, NULL);
|
||||
|
||||
/* exposed as a function for runtime interface type properties */
|
||||
|
|
Loading…
Reference in New Issue