Fix a typo in building undistorted proxies for movie clips.
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 8 Nov 2011 09:34:43 +0000 (09:34 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 8 Nov 2011 09:34:43 +0000 (09:34 +0000)
Thanks Campbell to point on this issue.

source/blender/blenkernel/intern/movieclip.c

index 62225cfbd9415e2b7189f9826caa18d7f3c30766..540d757f0c9d037d1bd3c5175dd12ddd5150bef1 100644 (file)
@@ -525,7 +525,7 @@ static ImBuf *get_undistorted_ibuf(MovieClip *clip, struct MovieDistortion *dist
        else
                undistibuf= BKE_tracking_undistort(&clip->tracking, ibuf, ibuf->x, ibuf->y, 0.0f);
 
-       if(undistibuf->userflags|= IB_RECT_INVALID) {
+       if(undistibuf->userflags&IB_RECT_INVALID) {
                ibuf->userflags&= ~IB_RECT_INVALID;
                IMB_rect_from_float(undistibuf);
        }