forked from bartvdbraak/blender
Bugfix: render crash with env material setting and ISB.
This commit is contained in:
parent
f33faa8f5f
commit
fdbfd7e3a8
@ -2161,7 +2161,7 @@ void zbuffer_solid(RenderPart *pa, RenderLayer *rl, void(*fillfunc)(RenderPart*,
|
||||
else {
|
||||
zbufclip(zspan, i, zvlnr, ho1, ho2, ho3, c1, c2, c3);
|
||||
if(v4)
|
||||
zbufclip(zspan, i, zvlnr+RE_QUAD_OFFS, ho1, ho3, ho4, c1, c3, c4);
|
||||
zbufclip(zspan, i, (env)? zvlnr: zvlnr+RE_QUAD_OFFS, ho1, ho3, ho4, c1, c3, c4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user