Instead of requiring a const char* return from the (optional) node label callback...
authorlukastoenne <lukastoenne@954f8c5b-7b00-dc11-b283-0030488c597c>
Tue, 12 Nov 2013 18:17:58 +0000 (18:17 +0000)
committerlukastoenne <lukastoenne@954f8c5b-7b00-dc11-b283-0030488c597c>
Tue, 12 Nov 2013 18:17:58 +0000 (18:17 +0000)
commitd3f698b073a61ee069a49306788b85f6735f43b5
tree38bc62998147d8fac1cdf43084af1725e82f4fd4
parentb209f9f250e22aea4e0a7fa2a1620ef3f594c754
Instead of requiring a const char* return from the (optional) node label callback function, let it write into a mutable string buffer. This will allow actual dynamic labels for nodes using the python
API.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61236 954f8c5b-7b00-dc11-b283-0030488c597c
blender/source/blender/blenkernel/BKE_node.h
blender/source/blender/blenkernel/intern/node.c
blender/source/blender/editors/space_node/drawnode.c
blender/source/blender/editors/space_node/node_draw.c
blender/source/blender/nodes/composite/nodes/node_composite_moviedistortion.c
blender/source/blender/nodes/intern/node_common.c
blender/source/blender/nodes/intern/node_common.h
blender/source/blender/nodes/intern/node_util.c
blender/source/blender/nodes/intern/node_util.h