[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [10977] trunk/blender/source/blender/src/ editsima.c: When saving render result images from the image editor with

Matt Ebb matt at mke3.net
Wed Jun 20 02:36:54 CEST 2007


Revision: 10977
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=10977
Author:   broken
Date:     2007-06-20 02:36:53 +0200 (Wed, 20 Jun 2007)

Log Message:
-----------
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'.

Modified Paths:
--------------
    trunk/blender/source/blender/src/editsima.c

Modified: trunk/blender/source/blender/src/editsima.c
===================================================================
--- trunk/blender/source/blender/src/editsima.c	2007-06-19 22:03:08 UTC (rev 10976)
+++ trunk/blender/source/blender/src/editsima.c	2007-06-20 00:36:53 UTC (rev 10977)
@@ -1808,7 +1808,7 @@
 			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);





More information about the Bf-blender-cvs mailing list