Commit 18f98129 authored by Jan Möbius's avatar Jan Möbius

Fixed bug in decimater where boundary check was using the wrong halfege(Thanks...

Fixed bug in decimater where boundary check was using the wrong halfege(Thanks to Michal Nociar for the patch)



git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@363 fdac6126-5c0c-442c-9429-916003d36597
parent 4fdd4c2a
......@@ -307,7 +307,7 @@ DecimaterT<Mesh>::is_collapse_legal(const CollapseInfo& _ci)
// v0vl and v1vl must not both be boundary edges
if (_ci.vl.is_valid() &&
mesh_.is_boundary(_ci.vlv1) &&
mesh_.is_boundary(_ci.v0v1))
mesh_.is_boundary(_ci.v0vl))
return false;
// v0vr and v1vr must not be both boundary edges
......
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