Forget this in svn rev51336
[blender-staging.git] / source / blender / blenkernel / intern / movieclip.c
index 0aa1f9e0822a443de17c52b16c4640e74bc43914..6f1c8d952de32d2392ffece9d6811cce5e0f98e4 100644 (file)
@@ -616,11 +616,6 @@ static ImBuf *get_undistorted_ibuf(MovieClip *clip, struct MovieDistortion *dist
        else
                undistibuf = BKE_tracking_undistort_frame(&clip->tracking, ibuf, ibuf->x, ibuf->y, 0.0f);
 
-       if (undistibuf->userflags & IB_RECT_INVALID) {
-               ibuf->userflags &= ~IB_RECT_INVALID;
-               IMB_rect_from_float(undistibuf);
-       }
-
        IMB_scaleImBuf(undistibuf, ibuf->x, ibuf->y);
 
        return undistibuf;