summaryrefslogtreecommitdiff
path: root/src/CGALEvaluator.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-08 01:46:33 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-09 23:01:50 (GMT)
commitc513ad9a287ee1b5cc5e456c665792958649e2ed (patch)
tree64b5a4e5e348da3a63990df700578b2184695309 /src/CGALEvaluator.cc
parent9d428bf51532cf42d36d99f5d029c6594bc90cb2 (diff)
Another assert to make sure we've cleanup up correctly after a traversal
Diffstat (limited to 'src/CGALEvaluator.cc')
-rw-r--r--src/CGALEvaluator.cc1
1 files changed, 1 insertions, 0 deletions
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));
}
contact: Jan Huwald // Impressum