summaryrefslogtreecommitdiff
path: root/src/CGALCache.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-26 20:20:05 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-26 20:20:05 (GMT)
commitcde24f681580f8911ac4fe29265b169a0bac5f49 (patch)
treeb426b377e367a50b406bad51a0dbb76510278102 /src/CGALCache.cc
parent36056e27f34a6049c18e49d5f24bfbd7cc6eabf4 (diff)
parentbc3454f369a21cd689f42f5e9ec5cb316f9ebdd5 (diff)
Merge branch 'master' into buildfix
Diffstat (limited to 'src/CGALCache.cc')
-rw-r--r--src/CGALCache.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CGALCache.cc b/src/CGALCache.cc
index 6bdad41..84de722 100644
--- a/src/CGALCache.cc
+++ b/src/CGALCache.cc
@@ -7,7 +7,9 @@ CGALCache *CGALCache::inst = NULL;
void CGALCache::insert(const std::string &id, const CGAL_Nef_polyhedron &N)
{
this->cache.insert(id, new CGAL_Nef_polyhedron(N), N.weight());
+#ifdef DEBUG
PRINTF("CGAL Cache insert: %s (%d verts)", id.substr(0, 40).c_str(), N.weight());
+#endif
}
void CGALCache::print()
contact: Jan Huwald // Impressum