Fix for the node tree nodes.new API function, this wasn't setting the scene and main...
authorLukas Toenne <lukas.toenne@googlemail.com>
Wed, 28 Mar 2012 07:48:08 +0000 (07:48 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Wed, 28 Mar 2012 07:48:08 +0000 (07:48 +0000)
commitf342c7de452dad23a918a79fe034d06fa3c93a80
treed79c7dea6be3566264807898ad75135bb81943e7
parent12655edc8444b5a09949e7e321869c63b1446389
Fix for the node tree nodes.new API function, this wasn't setting the scene and main context pointers in the node template, used by file output node. Also the file output node itself now works in case of scene==NULL (might happen in some contexts).
source/blender/editors/space_node/node_templates.c
source/blender/makesrna/intern/rna_nodetree.c
source/blender/nodes/composite/nodes/node_composite_outputFile.c