diff options
author | Marius Kintel <marius@kintel.net> | 2010-03-30 22:53:01 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2010-10-31 00:42:35 (GMT) |
commit | 99f406d9941ef9fef8b2522ccbf6a72eb474f27a (patch) | |
tree | f9dc4a9f0e9e66fc8264044f4b6d663c87467a08 /src/projection.cc | |
parent | eb81def6ebfa0997798808408e3d27f03eff1996 (diff) |
Removed temporary REMOVE_DUMP define
Diffstat (limited to 'src/projection.cc')
-rw-r--r-- | src/projection.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/projection.cc b/src/projection.cc index b4a19c7..83f0205 100644 --- a/src/projection.cc +++ b/src/projection.cc @@ -116,22 +116,6 @@ PolySet *ProjectionNode::render_polyset(render_mode_e mode) const return ps; } -#ifndef REMOVE_DUMP -QString ProjectionNode::dump(QString indent) const -{ - if (dump_cache.isEmpty()) { - QString text; - text.sprintf("projection(cut = %s, convexity = %d) {\n", - this->cut_mode ? "true" : "false", this->convexity); - foreach (AbstractNode *v, this->children) - text += v->dump(indent + QString("\t")); - text += indent + "}\n"; - ((AbstractNode*)this)->dump_cache = indent + QString("n%1: ").arg(idx) + text; - } - return dump_cache; -} -#endif - std::string ProjectionNode::toString() const { std::stringstream stream; |