forked from bartvdbraak/blender
Very silly typo in code caused Preview Window for Compositor to copy
Z values wrong... :)
This commit is contained in:
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user