Fix T67649: clarify description of node update method
This commit is contained in:
parent
0840469ccd
commit
d1cd3ec9ba
Notes:
blender-bot
2023-02-14 01:34:41 +01:00
Referenced by issue #67649, Update functions not working when changing socket values in Node bpy_struct
|
@ -8618,7 +8618,8 @@ static void rna_def_internal_node(BlenderRNA *brna)
|
|||
|
||||
/* update */
|
||||
func = RNA_def_function(srna, "update", "rna_NodeInternal_update");
|
||||
RNA_def_function_ui_description(func, "Update on editor changes");
|
||||
RNA_def_function_ui_description(
|
||||
func, "Update on node graph topology changes (adding or removing nodes and links)");
|
||||
RNA_def_function_flag(func, FUNC_USE_SELF_ID | FUNC_ALLOW_WRITE);
|
||||
|
||||
/* draw buttons */
|
||||
|
@ -8922,7 +8923,8 @@ static void rna_def_node(BlenderRNA *brna)
|
|||
|
||||
/* update */
|
||||
func = RNA_def_function(srna, "update", NULL);
|
||||
RNA_def_function_ui_description(func, "Update on editor changes");
|
||||
RNA_def_function_ui_description(
|
||||
func, "Update on node graph topology changes (adding or removing nodes and links)");
|
||||
RNA_def_function_flag(func, FUNC_USE_SELF_ID | FUNC_REGISTER_OPTIONAL | FUNC_ALLOW_WRITE);
|
||||
|
||||
/* insert_link */
|
||||
|
|
Loading…
Reference in New Issue