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
This commit is contained in:
Jan Möbius
2011-01-26 09:36:24 +00:00
parent 4fdd4c2adc
commit 18f98129d8

View File

@@ -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