Very silly typo in code caused Preview Window for Compositor to copy

Z values wrong... :)
This commit is contained in:
Ton Roosendaal 2006-02-20 21:11:02 +00:00
parent ec47d960dc
commit a6e7ff5ee9

@ -153,7 +153,7 @@ static CompBuf *get_cropped_compbuf(rcti *drect, float *rectf, int rectx, int re
rectf += type*(disprect.ymin*rectx + disprect.xmin);
dx= type*cbuf->x;
for(y=cbuf->y; y>0; y--, outfp+=dx, rectf+=type*rectx)
memcpy(outfp, rectf, type*dx);
memcpy(outfp, rectf, sizeof(float)*dx);
return cbuf;
}