[Bf-blender-cvs] [90b7652] master: Fix T44472: Stereo 3D save options missing in File Browser
Julian Eisel
noreply at git.blender.org
Wed Apr 22 21:50:58 CEST 2015
Commit: 90b765233496aef50203e589fa8e2910fa980d78
Author: Julian Eisel
Date: Wed Apr 22 21:50:21 2015 +0200
Branches: master
https://developer.blender.org/rB90b765233496aef50203e589fa8e2910fa980d78
Fix T44472: Stereo 3D save options missing in File Browser
===================================================================
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 db4029d..24eb119 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -1933,7 +1933,7 @@ static void image_save_as_draw(bContext *UNUSED(C), wmOperator *op)
uiLayout *layout = op->layout;
ImageFormatData *imf = op->customdata;
PointerRNA imf_ptr, ptr;
- const bool is_multiview = RNA_boolean_get(op->ptr, "use_multiview");
+ const bool is_multiview = RNA_boolean_get(op->ptr, "show_multiview");
/* image template */
RNA_pointer_create(NULL, &RNA_ImageFormatSettings, imf, &imf_ptr);
@@ -1945,7 +1945,7 @@ static void image_save_as_draw(bContext *UNUSED(C), wmOperator *op)
/* multiview template */
if (is_multiview)
- uiTemplateImageFormatViews(layout, &imf_ptr, NULL);
+ uiTemplateImageFormatViews(layout, &imf_ptr, op->ptr);
}
static int image_save_as_poll(bContext *C)
More information about the Bf-blender-cvs
mailing list