[Bf-blender-cvs] [d1cd3ec9bab] master: Fix T67649: clarify description of node update method
Brecht Van Lommel
noreply at git.blender.org
Thu Feb 13 11:03:58 CET 2020
Commit: d1cd3ec9babd8090089a4c7df6b55573adb1aa48
Author: Brecht Van Lommel
Date: Thu Feb 13 11:02:12 2020 +0100
Branches: master
https://developer.blender.org/rBd1cd3ec9babd8090089a4c7df6b55573adb1aa48
Fix T67649: clarify description of node update method
===================================================================
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 180bf96dd90..7efd01bbef9 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -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 */
More information about the Bf-blender-cvs
mailing list