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:
@@ -307,7 +307,7 @@ DecimaterT<Mesh>::is_collapse_legal(const CollapseInfo& _ci)
|
|||||||
// v0vl and v1vl must not both be boundary edges
|
// v0vl and v1vl must not both be boundary edges
|
||||||
if (_ci.vl.is_valid() &&
|
if (_ci.vl.is_valid() &&
|
||||||
mesh_.is_boundary(_ci.vlv1) &&
|
mesh_.is_boundary(_ci.vlv1) &&
|
||||||
mesh_.is_boundary(_ci.v0v1))
|
mesh_.is_boundary(_ci.v0vl))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// v0vr and v1vr must not be both boundary edges
|
// v0vr and v1vr must not be both boundary edges
|
||||||
|
|||||||
Reference in New Issue
Block a user