And another one

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@909 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2013-08-07 11:59:44 +00:00
parent daea181b2f
commit e30da7ea10
17 changed files with 155 additions and 157 deletions

View File

@@ -119,15 +119,15 @@ build_strips()
if (mesh_.has_face_status())
{
for (f_it=mesh_.faces_begin(); f_it!=f_end; ++f_it)
if (mesh_.status(f_it).hidden() || mesh_.status(f_it).deleted())
processed(f_it) = used(f_it) = true;
if (mesh_.status(*f_it).hidden() || mesh_.status(*f_it).deleted())
processed(*f_it) = used(*f_it) = true;
else
processed(f_it) = used(f_it) = false;
processed(*f_it) = used(*f_it) = false;
}
else
{
for (f_it=mesh_.faces_begin(); f_it!=f_end; ++f_it)
processed(f_it) = used(f_it) = false;
processed(*f_it) = used(*f_it) = false;
}
@@ -136,7 +136,7 @@ build_strips()
{
// find start face
for (; f_it!=f_end; ++f_it)
if (!processed(f_it))
if (!processed(*f_it))
break;
if (f_it==f_end) break; // stop if all have been processed