summaryrefslogtreecommitdiff
path: root/src/import.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2012-01-25 02:11:12 (GMT)
committerMarius Kintel <marius@kintel.net>2012-01-25 02:11:12 (GMT)
commiteff1f7f8c91cee34c584a89c5d09e401c609f93e (patch)
tree543ae3bd3587dd3a97fbaa660ad9aaceb5a3823f /src/import.cc
parent16c05eb533f94799a80f5b98c01e952e1cfe337b (diff)
Ported printutils away from Qt
Diffstat (limited to 'src/import.cc')
-rw-r--r--src/import.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/import.cc b/src/import.cc
index 266aa4e..597ecfb 100644
--- a/src/import.cc
+++ b/src/import.cc
@@ -123,7 +123,7 @@ PolySet *ImportNode::evaluate_polyset(class PolySetEvaluator *) const
handle_dep(this->filename);
std::ifstream f(this->filename.c_str(), std::ios::in | std::ios::binary);
if (!f.good()) {
- PRINTF("WARNING: Can't open import file `%s'.", this->filename.c_str());
+ PRINTB("WARNING: Can't open import file '%s'.", this->filename);
return p;
}
@@ -160,7 +160,7 @@ PolySet *ImportNode::evaluate_polyset(class PolySetEvaluator *) const
}
}
catch (boost::bad_lexical_cast &blc) {
- PRINTF("WARNING: Can't parse vertex line `%s'.", line.c_str());
+ PRINTB("WARNING: Can't parse vertex line '%s'.", line);
i = 10;
continue;
}
@@ -215,7 +215,7 @@ PolySet *ImportNode::evaluate_polyset(class PolySetEvaluator *) const
p = createPolySetFromPolyhedron(poly);
#else
- PRINTF("WARNING: OFF import requires CGAL.");
+ PRINT("WARNING: OFF import requires CGAL.");
#endif
}
@@ -229,7 +229,7 @@ PolySet *ImportNode::evaluate_polyset(class PolySetEvaluator *) const
}
else
{
- PRINTF("ERROR: Unsupported file format while trying to import file '%s'", this->filename.c_str());
+ PRINTB("ERROR: Unsupported file format while trying to import file '%s'", this->filename);
}
if (p) p->convexity = this->convexity;
contact: Jan Huwald // Impressum