[Bf-blender-cvs] [87d67a0] multiview: Fix is_float test for ibufs without z
Dalai Felinto
noreply at git.blender.org
Wed Sep 17 14:12:33 CEST 2014
Commit: 87d67a0c46dfe645cdce5f02dcfeed1899cb1768
Author: Dalai Felinto
Date: Tue Sep 16 10:56:39 2014 +0200
Branches: multiview
https://developer.blender.org/rB87d67a0c46dfe645cdce5f02dcfeed1899cb1768
Fix is_float test for ibufs without z
===================================================================
M source/blender/imbuf/intern/stereoimbuf.c
===================================================================
diff --git a/source/blender/imbuf/intern/stereoimbuf.c b/source/blender/imbuf/intern/stereoimbuf.c
index bc16684..9e065e0 100644
--- a/source/blender/imbuf/intern/stereoimbuf.c
+++ b/source/blender/imbuf/intern/stereoimbuf.c
@@ -1221,7 +1221,7 @@ void IMB_ImBufFromStereo(Stereo3dFormat *s3d, ImBuf **left, ImBuf **right)
Stereo3DData s3d_data = {{NULL}};
ImBuf *stereo;
size_t width, height;
- const bool is_float = ((*left)->zbuf_float != NULL);
+ const bool is_float = ((*left)->rect_float != NULL);
stereo = *left;
More information about the Bf-blender-cvs
mailing list