forked from bartvdbraak/blender
Potential fix for bug #31111, Remesh modifier generates artifacts on simple surfaces
Changed one of the intersection tests to use < rather than <= The sharp and smooth modes look fine now for the special case that was reported broken; blocks mode looks correct but "jumps" slightly from one octree resolution to another, so may need additional corrections.
This commit is contained in:
parent
3d65c502e1
commit
10d1cde0ad
@ -265,7 +265,7 @@ unsigned char CubeTriangleIsect::getBoxMask( )
|
||||
if (mid >= inherit->tri_proj[i][0]) {
|
||||
bmask[i][0] = 1;
|
||||
}
|
||||
if (mid <= inherit->tri_proj[i][1]) {
|
||||
if (mid < inherit->tri_proj[i][1]) {
|
||||
bmask[i][1] = 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user