Commit 00d5422b authored by Philip Trettner's avatar Philip Trettner
Browse files

small fix for self-adjacent faces

parent 2d5fab40
......@@ -289,7 +289,7 @@ inline void low_level_api_mutable::remove_edge(edge_index e_idx) const
auto f1 = face_of(h_out);
// remove adjacent faces
if (f0.is_valid())
if (f0.is_valid() && f0 != f1)
remove_face(f0);
if (f1.is_valid())
remove_face(f1);
......
Supports Markdown
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