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:
authorMatt Ebb <matt@mke3.net>2007-06-20 04:36:53 +0400
committerMatt Ebb <matt@mke3.net>2007-06-20 04:36:53 +0400
commitd3c4ec9e5cb4f4e775131119ffdc87d80d4c9456 (patch)
tree30c4b2afefd62c25d87b39ead2aaccb858558d1a /source/blender/src/editsima.c
parentb3996a53c26db198a25a53c5da8b297322600030 (diff)
When saving render result images from the image editor with
image->save as, default to the scene image type settings (just like with F3: save rendered image). Multilayer is still available in the list but most of the time, it's not what you want by default. Too many times I've saved out a render and frustratingly ended up with a huge 'filename.png.exr'.
Diffstat (limited to 'source/blender/src/editsima.c')
-rw-r--r--source/blender/src/editsima.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editsima.c b/source/blender/src/editsima.c
index 3f257bb848f..94990b8a393 100644
--- a/source/blender/src/editsima.c
+++ b/source/blender/src/editsima.c
@@ -1808,7 +1808,7 @@ void save_as_image_sima(void)
if(ima->rr && !(ima->source==IMA_SRC_SEQUENCE && ima->type==IMA_TYPE_MULTILAYER))
G.sima->imtypenr= R_MULTILAYER;
else if(ima->type==IMA_TYPE_R_RESULT)
- G.sima->imtypenr= R_MULTILAYER;
+ G.sima->imtypenr= G.scene->r.imtype;
else G.sima->imtypenr= BKE_ftype_to_imtype(ibuf->ftype);
activate_fileselect_menu(FILE_SPECIAL, "Save Image", name, strp, &G.sima->imtypenr, save_image_doit);