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)
commitff89cc23e056ce3f9ce7ef7cad5b97c729c9bbdf
treed563fc43c66cb8e2bcece51fa8ce6372eb4af628
parent6c0f6777e1f5eb312d4eaf2fa80c502dbc9af52e
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