Commit: b0373525ca14af210b6590901dc3380dc848428b
Author: Dalai Felinto
Date:   Thu Sep 11 18:52:49 2014 +0200
Branches: multiview
https://developer.blender.org/rBb0373525ca14af210b6590901dc3380dc848428b

Use Image multiview settings as default when trying to save it

===================================================================

M       source/blender/editors/space_image/image_ops.c

===================================================================

diff --git a/source/blender/editors/space_image/image_ops.c 
b/source/blender/editors/space_image/image_ops.c
index 31731fc..64240f9 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -1489,6 +1489,10 @@ static int save_image_options_init(SaveImageOptions 
*simopts, SpaceImage *sima,
                        }
                }
 
+               /* use the multiview image settings as the default */
+               simopts->im_format.stereo3d_format = *ima->stereo3d_format;
+               simopts->im_format.views_format = ima->views_format;
+
                /* color management */
                
BKE_color_managed_display_settings_copy(&simopts->im_format.display_settings, 
&scene->display_settings);
                
BKE_color_managed_view_settings_copy(&simopts->im_format.view_settings, 
&scene->view_settings);

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to