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 2b49a0f6fda..23ead94c22d 100644
--- a/source/blender/src/writeimage.c
+++ b/source/blender/src/writeimage.c
@@ -53,6 +53,9 @@ int BIF_write_ibuf(ImBuf *ibuf, char *name)
else if ((R.r.imtype==R_PNG)) {
ibuf->ftype= PNG;
}
+ else if ((R.r.imtype==R_BMP)) {
+ ibuf->ftype= BMP;
+ }
else if ((R.r.imtype==R_TARGA) || (R.r.imtype==R_PNG)) {
// fall back to Targa if PNG writing is not supported
ibuf->ftype= TGA;