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:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-11-12 22:18:04 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-11-12 22:18:04 +0400
commit4d4ef0434b0078364824c2fe5ebfb8153fb44956 (patch)
treed3f5d286cca7b7bfa34fab18c57e4a38da0f80e4 /source/blender/nodes/intern/node_common.h
parent8663b940eda703c45baf664c9aa379a9ecb684f9 (diff)
Make dynamic node labels possible as a registerable function 'draw_label' (simple 'label' identifier is already in use, need to avoid API breakage). This should simply return a string. The dynamic label can still be overridden by the user-defined node.label string.
Diffstat (limited to 'source/blender/nodes/intern/node_common.h')
-rw-r--r--source/blender/nodes/intern/node_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/node_common.h b/source/blender/nodes/intern/node_common.h
index 8c7cefedee6..df3937f5a3e 100644
--- a/source/blender/nodes/intern/node_common.h
+++ b/source/blender/nodes/intern/node_common.h
@@ -37,7 +37,7 @@
struct bNodeTree;
-void node_group_label(struct bNode *node, char *label, int maxlen);
+void node_group_label(struct bNodeTree *ntree, struct bNode *node, char *label, int maxlen);
int node_group_poll_instance(struct bNode *node, struct bNodeTree *nodetree);
void ntree_update_reroute_nodes(struct bNodeTree *ntree);