summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-03-11 16:02:01 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-03-11 16:02:01 (GMT)
commit8bf53bc0199e7f6a24c9d88ad3eb0bf98d759d9c (patch)
tree8732a6d01d2163df242fb81fe83e62d92b79570f /src
parent4e2965ac17e4e8c64df327b3988bb0a4006f4357 (diff)
replace fprintf with PRINT
Diffstat (limited to 'src')
-rw-r--r--src/CsgInfo.h2
-rw-r--r--src/OffscreenView.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/CsgInfo.h b/src/CsgInfo.h
index 37fe0d0..fe953b5 100644
--- a/src/CsgInfo.h
+++ b/src/CsgInfo.h
@@ -57,7 +57,7 @@ public:
if (this->root_norm_term) {
this->root_chain = new CSGChain();
this->root_chain->import(this->root_norm_term);
- fprintf(stderr, "Normalized CSG tree has %d elements", int(this->root_chain->polysets.size()));
+ PRINTB("Normalized CSG tree has %d elements", int(this->root_chain->polysets.size()));
}
else {
this->root_chain = NULL;
diff --git a/src/OffscreenView.cc b/src/OffscreenView.cc
index 1e91f3d..2186eb1 100644
--- a/src/OffscreenView.cc
+++ b/src/OffscreenView.cc
@@ -6,6 +6,7 @@
#include <string.h>
#include <cstdlib>
#include <sstream>
+#include "printutils.h"
OffscreenView::OffscreenView(size_t width, size_t height)
{
contact: Jan Huwald // Impressum