Commit b5e60b14 authored by Sylvain Thery's avatar Sylvain Thery

can import non manifold into 2-Maps (with boundaries)

parent 549ab145
......@@ -111,8 +111,11 @@ bool importMesh(typename PFP::MAP& map, MeshTablesSurface<PFP>& mts)
if (good_dart != NIL)
{
map.sewFaces(d, good_dart, false);
m.unmarkOrbit<EDGE>(d);
if ((d != map.phi2(d)) && (good_dart != map.phi2(good_dart)) )
{
map.sewFaces(d, good_dart, false);
m.unmarkOrbit<EDGE>(d);
}
}
else
{
......
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