Skip to content

Commit

Permalink
Better warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kintel committed Feb 27, 2024
1 parent c79033a commit b6f178b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/geometry/manifold/manifoldutils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ std::shared_ptr<const ManifoldGeometry> createManifoldFromPolySet(const PolySet&
return std::make_shared<const ManifoldGeometry>(std::shared_ptr<const manifold::Manifold>(std::move(mani)));
}

LOG("Warning: [manifold] Surface_mesh -> Manifold conversion failed: %1$s",
LOG("Warning: [manifold] PolySet -> Manifold conversion failed: %1$s\n"
"Trying to repair and reconstruct mesh",
ManifoldUtils::statusToString(mani->Status()));

{
#ifdef ENABLE_CGAL
PolySet psq(ps);
Expand Down
2 changes: 1 addition & 1 deletion tests/data/scad/3D/misc/polyhedron-self-touch-face.scad
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ polyhedron(
[0.5, 0.6, 0.5],
],
faces=[
[5,4,11],[5,11,12]
[5,4,11],[5,11,12],
[4,6,11],
[6,13,11],
[6,7,13],
Expand Down

0 comments on commit b6f178b

Please sign in to comment.