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/toets.c')
-rw-r--r--source/blender/src/toets.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c
index 87f2654e8c6..fa220f3da2b 100644
--- a/source/blender/src/toets.c
+++ b/source/blender/src/toets.c
@@ -191,6 +191,9 @@ void schrijfplaatje(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)) {
ibuf->ftype= TGA;
}
@@ -460,6 +463,8 @@ int save_image_filesel_str(char *str)
switch(G.scene->r.imtype) {
case R_PNG:
strcpy(str, "SAVE PNG"); return 1;
+ case R_BMP:
+ strcpy(str, "SAVE BMP"); return 1;
case R_TARGA:
strcpy(str, "SAVE TARGA"); return 1;
case R_RAWTGA: