mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-06-04 11:14:17 +08:00
Fix failing test for hollowing
This commit is contained in:
parent
191f04568d
commit
ce5d242f76
@ -282,7 +282,11 @@ void hollow_mesh(TriangleMesh &mesh, const Interior &interior, int flags)
|
||||
if (flags & hfRemoveInsideTriangles && interior.gridptr)
|
||||
remove_inside_triangles(mesh, interior);
|
||||
|
||||
mesh.merge(TriangleMesh{interior.mesh});
|
||||
indexed_triangle_set interi = interior.mesh;
|
||||
sla::swap_normals(interi);
|
||||
TriangleMesh inter{std::move(interi)};
|
||||
|
||||
mesh.merge(inter);
|
||||
}
|
||||
|
||||
// Get the distance of p to the interior's zero iso_surface. Interior should
|
||||
|
Loading…
x
Reference in New Issue
Block a user