[Bf-blender-cvs] [9b5bb69] multiview: RNA: use 1/0 for image_save_as + check the correct flag (MULTIVIEW instead of STEREO)
Dalai Felinto
noreply at git.blender.org
Wed Feb 25 20:48:21 CET 2015
Commit: 9b5bb695dd1251560a45d81511de65215fe8438b
Author: Dalai Felinto
Date: Tue Feb 24 17:02:46 2015 -0300
Branches: multiview
https://developer.blender.org/rB9b5bb695dd1251560a45d81511de65215fe8438b
RNA: use 1/0 for image_save_as + check the correct flag (MULTIVIEW instead of STEREO)
===================================================================
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 1fc29f2..ba54f5a 100644
--- a/source/blender/editors/space_image/image_ops.c
+++ b/source/blender/editors/space_image/image_ops.c
@@ -1944,7 +1944,7 @@ static int image_save_as_invoke(bContext *C, wmOperator *op, const wmEvent *UNUS
/* show multiview save options only if image has multiviews */
prop = RNA_struct_find_property(op->ptr, "use_multiview");
- RNA_property_boolean_set(op->ptr, prop, (ima->flag & IMA_IS_STEREO));
+ RNA_property_boolean_set(op->ptr, prop, (ima->flag & IMA_IS_MULTIVIEW) != 0);
image_filesel(C, op, simopts.filepath);
More information about the Bf-blender-cvs
mailing list