forked from bartvdbraak/blender
flip lines to reduce odds of re-execution (non critical race condition when triangles overlap
This commit is contained in:
parent
84eaa875de
commit
c52468d31d
@ -233,8 +233,8 @@ static void set_rast_triangle(const MBakeRast *bake_rast, const int x, const int
|
||||
|
||||
if (x >= 0 && x < w && y >= 0 && y < h) {
|
||||
if ((bake_rast->texels[y * w + x]) == 0) {
|
||||
flush_pixel(bake_rast->data, x, y);
|
||||
bake_rast->texels[y * w + x] = FILTER_MASK_USED;
|
||||
flush_pixel(bake_rast->data, x, y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user