Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-13 13:02:12 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-02-13 13:02:12 +0300
commitd1cd3ec9babd8090089a4c7df6b55573adb1aa48 (patch)
tree32675bda7e7d24d44b5344c0e2e05fedfc1c4c63
parent0840469ccd4fafc1658628201f297005e27bca71 (diff)
Fix T67649: clarify description of node update method
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c6
1 files changed, 4 insertions, 2 deletions
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 */