[Bf-blender-cvs] [6478240] multiview: ouch, typo on bitflag operation on image update views format

Dalai Felinto noreply at git.blender.org
Fri Feb 6 02:44:21 CET 2015


Commit: 64782406484d18845d8f20a8eac09a2a50caba3e
Author: Dalai Felinto
Date:   Thu Feb 5 21:56:12 2015 -0200
Branches: multiview
https://developer.blender.org/rB64782406484d18845d8f20a8eac09a2a50caba3e

ouch, typo on bitflag operation on image update views format

This should be causing issues, but I have not noticed any. Better fixed than not anyways.

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

M	source/blender/blenkernel/intern/image.c

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

diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index b10e8af..023827b 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -4484,8 +4484,8 @@ static void image_update_views_format(Scene *scene, Image *ima)
 		}
 		else {
 monoview:
-			ima->flag &= IMA_IS_STEREO;
-			ima->flag &= IMA_IS_MULTIVIEW;
+			ima->flag &= ~IMA_IS_STEREO;
+			ima->flag &= ~IMA_IS_MULTIVIEW;
 			BKE_image_free_views(ima);
 		}




More information about the Bf-blender-cvs mailing list