You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hole triangulation can raise topological exceptions. Then they're not catched and you don't clean the added properties. Which makes further usage of hole filling algorithm impossible (properties cannot be added anymore)
The text was updated successfully, but these errors were encountered:
Thanks for reporting. This needs some thought though.
triangulate_hole() itself is only throwing an InvalidInputException in case of a non-manifold hole, which would be a violation of the input precondition. SurfaceMesh::add_face() — called in triangulate_hole() — can throw a TopologyException. I think it should be the responsibility of the direct caller to catch those.
Hello,
the catch in hole filling code is using the wrong exception:
hole triangulation can raise topological exceptions. Then they're not catched and you don't clean the added properties. Which makes further usage of hole filling algorithm impossible (properties cannot be added anymore)
The text was updated successfully, but these errors were encountered: