[Bf-blender-cvs] [14c9d57] multiview: Fix warning/real bug introduced during removal of scene dependency for Images

Dalai Felinto noreply at git.blender.org
Mon Mar 16 16:42:23 CET 2015


Commit: 14c9d575ce4a7dddb265d4a819cdde202922a14b
Author: Dalai Felinto
Date:   Mon Mar 16 16:31:47 2015 +0100
Branches: multiview
https://developer.blender.org/rB14c9d575ce4a7dddb265d4a819cdde202922a14b

Fix warning/real bug introduced during removal of scene dependency for Images

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

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

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

diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 7fdf242..093d3e2 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -916,7 +916,7 @@ static void image_memorypack_multiview(Image *ima)
 		ibuf->planes = R_IMF_PLANES_RGBA;
 
 		/* if the image was a R_IMF_VIEWS_STEREO_3D we force _L, _R suffices */
-		if (ima->stereo3d_format == R_IMF_VIEWS_STEREO_3D) {
+		if (ima->views_format == R_IMF_VIEWS_STEREO_3D) {
 			const char *suffix[2] = {STEREO_LEFT_SUFFIX, STEREO_RIGHT_SUFFIX};
 			BLI_path_suffix(iv->filepath, FILE_MAX, suffix[i], "");
 		}




More information about the Bf-blender-cvs mailing list