Instead of requiring a const char* return from the (optional) node label callback...
authorLukas Toenne <lukas.toenne@googlemail.com>
Tue, 12 Nov 2013 18:17:58 +0000 (18:17 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Tue, 12 Nov 2013 18:17:58 +0000 (18:17 +0000)
commit8663b940eda703c45baf664c9aa379a9ecb684f9
treef3f873d4bb7facefe1534799f43b94b464d0a1ab
parentba7fd8cd5c173730c8c2250eac7ea48fafd519c7
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.
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/node.c
source/blender/editors/space_node/drawnode.c
source/blender/editors/space_node/node_draw.c
source/blender/nodes/composite/nodes/node_composite_moviedistortion.c
source/blender/nodes/intern/node_common.c
source/blender/nodes/intern/node_common.h
source/blender/nodes/intern/node_util.c
source/blender/nodes/intern/node_util.h