diff options
Diffstat (limited to 'source/blender/src/screendump.c')
-rw-r--r-- | source/blender/src/screendump.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/screendump.c b/source/blender/src/screendump.c index cd51f1fdb0f..557a6f101a5 100644 --- a/source/blender/src/screendump.c +++ b/source/blender/src/screendump.c @@ -88,7 +88,12 @@ void write_screendump(char *name) else if((G.have_libtiff) && (G.scene->r.imtype==R_TIFF)) ibuf->ftype= TIF; #ifdef WITH_OPENEXR - else if(G.scene->r.imtype==R_OPENEXR) ibuf->ftype= OPENEXR; + else if(G.scene->r.imtype==R_OPENEXR) { + ibuf->ftype= OPENEXR; + if(G.scene->r.subimtype & R_OPENEXR_HALF) + ibuf->ftype |= OPENEXR_HALF; + ibuf->ftype |= (G.scene->r.quality & OPENEXR_COMPRESS); + } #endif else if(G.scene->r.imtype==R_HAMX) ibuf->ftype= AN_hamx; else if(ELEM5(G.scene->r.imtype, R_MOVIE, R_AVICODEC, R_AVIRAW, R_AVIJPEG, R_JPEG90)) { |