Commit 7b9bceb8 authored by Philip Trettner's avatar Philip Trettner
Browse files

improved make_adjacent assertion

parent 54f443f3
......@@ -209,7 +209,7 @@ inline void low_level_api_mutable::make_adjacent(halfedge_index he_in, halfedge_
// find free half-edge after `out` but before `in`
auto he_g = find_free_incident(opposite(he_out), he_in);
assert(he_g.is_valid()); // unable to make adjacent
assert(he_g.is_valid() && "unable to make halfedges adjacent. maybe mesh is not manifold?"); // unable to make adjacent
auto he_h = next_halfedge_of(he_g);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment