From c513ad9a287ee1b5cc5e456c665792958649e2ed Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sun, 8 Jan 2012 02:46:33 +0100 Subject: Another assert to make sure we've cleanup up correctly after a traversal diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc index 9528db6..c403e85 100644 --- a/src/CGALEvaluator.cc +++ b/src/CGALEvaluator.cc @@ -49,6 +49,7 @@ CGAL_Nef_polyhedron CGALEvaluator::evaluateCGALMesh(const AbstractNode &node) // explicitly telling the caller what happened // 3) Somehow ask the user to increase cache size and continue processing assert(isCached(node)); + assert(this->visitedchildren.empty()); } return CGALCache::instance()->get(this->tree.getIdString(node)); } -- cgit v0.10.1