Fix related to #30384: multilayer exr files not saving compressed correctly.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 1 Mar 2012 16:41:51 +0000 (16:41 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 1 Mar 2012 16:41:51 +0000 (16:41 +0000)
source/blender/render/intern/source/pipeline.c

index 100b12aa1694b8a91aba48fe54678f28c20dc2e6..35633a5d87c59d6fe420c7c2895ebe1af6570971 100644 (file)
@@ -2063,7 +2063,7 @@ static int do_write_image_or_movie(Render *re, Main *bmain, Scene *scene, bMovie
                
                if(re->r.im_format.imtype==R_IMF_IMTYPE_MULTILAYER) {
                        if(re->result) {
-                               RE_WriteRenderResult(re->reports, re->result, name, scene->r.im_format.compress);
+                               RE_WriteRenderResult(re->reports, re->result, name, scene->r.im_format.exr_codec);
                                printf("Saved: %s", name);
                        }
                }