Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/writeimage.c')
-rw-r--r--source/blender/src/writeimage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/writeimage.c b/source/blender/src/writeimage.c
index 0c0b716d211..d7e0fd234ca 100644
--- a/source/blender/src/writeimage.c
+++ b/source/blender/src/writeimage.c
@@ -51,6 +51,9 @@ int BIF_write_ibuf(ImBuf *ibuf, char *name)
/* to be used for e.g. envmap, not rendered images */
if(G.scene->r.imtype== R_IRIS) ibuf->ftype= IMAGIC;
+ else if ((G.scene->r.imtype==R_RADHDR)) {
+ ibuf->ftype= RADHDR;
+ }
else if ((G.scene->r.imtype==R_PNG)) {
ibuf->ftype= PNG;
}