Commit: 04b6f38a64eb985f108159579c4f4e59a1b427d0
Author: Dalai Felinto
Date:   Fri Aug 8 16:02:36 2014 +0200
Branches: multiview
https://developer.blender.org/rB04b6f38a64eb985f108159579c4f4e59a1b427d0

fix for missing casting from int to uchar * for non float stereo images

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

M       source/blender/imbuf/intern/stereoimbuf.c

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

diff --git a/source/blender/imbuf/intern/stereoimbuf.c 
b/source/blender/imbuf/intern/stereoimbuf.c
index 40ebd42..cad8bec 100644
--- a/source/blender/imbuf/intern/stereoimbuf.c
+++ b/source/blender/imbuf/intern/stereoimbuf.c
@@ -84,8 +84,8 @@ static void imb_stereo_anaglyph(enum eStereoAnaglyphType 
UNUSED(mode), ImBuf *le
                }
        }
        else {
-               const uchar *rect_left = left->rect;
-               const uchar *rect_right= right->rect;
+               const uchar *rect_left = (uchar *)left->rect;
+               const uchar *rect_right= (uchar *)right->rect;
                uchar *rect_to = (uchar *)r_ibuf->rect;
 
                /* always RGBA input */

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to