[Bf-blender-cvs] [268ab9e] multiview: Bug/Typo in image_update_multiview_flag, caught by Campbell Barton, thanks :)
Dalai Felinto
noreply at git.blender.org
Thu Sep 18 10:14:39 CEST 2014
Commit: 268ab9e1b7ea96ecb05fc8f663471e9c09829d77
Author: Dalai Felinto
Date: Thu Sep 18 10:14:18 2014 +0200
Branches: multiview
https://developer.blender.org/rB268ab9e1b7ea96ecb05fc8f663471e9c09829d77
Bug/Typo in image_update_multiview_flag, caught by Campbell Barton, thanks :)
===================================================================
M source/blender/blenkernel/intern/image.c
===================================================================
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 3da615a..fdbd433 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -2894,7 +2894,7 @@ static void image_update_multiview_flags(Image *ima)
ima->flag |= IMA_IS_MULTIVIEW;
if (BLI_findstring(&ima->views, STEREO_LEFT_NAME, offsetof(ImageView, name)) &&
- BLI_findstring(&ima->views, STEREO_LEFT_NAME, offsetof(ImageView, name)))
+ BLI_findstring(&ima->views, STEREO_RIGHT_NAME, offsetof(ImageView, name)))
{
ima->flag |= IMA_IS_STEREO;
}
More information about the Bf-blender-cvs
mailing list