Move "go_further()" check up

So it doesn't purge zombies or print gate info that would not be refined
This commit is contained in:
Mael Rouxel-Labbé 2023-10-10 13:23:05 +02:00
parent 67e1b32c21
commit c19799aa59
1 changed files with 3 additions and 3 deletions

View File

@ -1327,6 +1327,9 @@ private:
// Explore all finite cells that are reachable from one of the initial outside cells.
while(!m_queue.empty())
{
if(!visitor.go_further(*this))
return false;
#ifdef CGAL_AW3_DEBUG_QUEUE_PP
check_queue_sanity();
#endif
@ -1379,9 +1382,6 @@ private:
face_out.close();
#endif
if(!visitor.go_further(*this))
return false;
visitor.before_facet_treatment(*this, gate);
m_queue.pop();