diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-12 05:53:15 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-12 05:53:15 +0300 |
commit | fd5657bd4fc8f8ea7f5d54ed7e92402b49a74870 (patch) | |
tree | e0127e359e3a9ebd30a81b04a4dc7879b8737f3e /source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c | |
parent | a742824c1198e2ee704123e7267ea8aaa6121a47 (diff) |
Fix [#20000] Connect to File Output node creates segfault
Diffstat (limited to 'source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c')
-rw-r--r-- | source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c b/source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c index ebb7c1e8478..0ad11b4c936 100644 --- a/source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c +++ b/source/blender/nodes/intern/CMP_nodes/CMP_outputFile.c @@ -62,7 +62,7 @@ static void node_composit_exec_output_file(void *data, bNode *node, bNodeStack * } } - BKE_makepicstring(string, nif->name, rd->cfra, nif->imtype, ((Scene *)node->id)->r.scemode & R_EXTENSION); + BKE_makepicstring(string, nif->name, rd->cfra, nif->imtype, (rd->scemode & R_EXTENSION)); if(0 == BKE_write_ibuf((Scene *)node->id, ibuf, string, nif->imtype, nif->subimtype, nif->imtype==R_OPENEXR?nif->codec:nif->quality)) printf("Cannot save Node File Output to %s\n", string); |