Same fix for file output node as Brecht did in r44580, EXR compression is defined...
authorLukas Toenne <lukas.toenne@googlemail.com>
Thu, 1 Mar 2012 17:02:05 +0000 (17:02 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Thu, 1 Mar 2012 17:02:05 +0000 (17:02 +0000)
source/blender/nodes/composite/nodes/node_composite_outputFile.c

index dd24552422d5c1b979f80fdf4a87022c7fd4fbb0..fc92c3aabc8f3e7d60600d8c40342ac9cebe0e39 100644 (file)
@@ -287,7 +287,7 @@ static void exec_output_file_multilayer(RenderData *rd, bNode *node, bNodeStack
        }
        
        /* when the filename has no permissions, this can fail */
        }
        
        /* when the filename has no permissions, this can fail */
-       if(IMB_exr_begin_write(exrhandle, filename, rectx, recty, nimf->format.compress)) {
+       if(IMB_exr_begin_write(exrhandle, filename, rectx, recty, nimf->format.exr_codec)) {
                IMB_exr_write_channels(exrhandle);
        }
        else {
                IMB_exr_write_channels(exrhandle);
        }
        else {