Fix own mistake in recent rB8b2a45052093, broke saving render results as images in some cases.
Reported by sebastian_k over IRC, thanks. To be backported to 2.78.
This commit is contained in:
parent
44df27dc71
commit
a2e08ef997
|
@ -1608,6 +1608,11 @@ static int save_image_options_init(SaveImageOptions *simopts, SpaceImage *sima,
|
|||
/* imtype */
|
||||
simopts->im_format = scene->r.im_format;
|
||||
is_depth_set = true;
|
||||
if (!BKE_image_is_multiview(ima)) {
|
||||
/* In case multiview is disabled, render settings would be invalid for render result in this area. */
|
||||
simopts->im_format.stereo3d_format = *ima->stereo3d_format;
|
||||
simopts->im_format.views_format = ima->views_format;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (ima->source == IMA_SRC_GENERATED) {
|
||||
|
|
Loading…
Reference in New Issue