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/csgops.cc | |
parent | eb81def6ebfa0997798808408e3d27f03eff1996 (diff) |
Removed temporary REMOVE_DUMP define
Diffstat (limited to 'src/csgops.cc')
-rw-r--r-- | src/csgops.cc | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/csgops.cc b/src/csgops.cc index 5ab12bc..dda523e 100644 --- a/src/csgops.cc +++ b/src/csgops.cc @@ -77,25 +77,6 @@ CSGTerm *CsgNode::render_csg_term(double m[20], QVector<CSGTerm*> *highlights, Q return t1; } -#ifndef REMOVE_DUMP -QString CsgNode::dump(QString indent) const -{ - if (dump_cache.isEmpty()) { - QString text = indent + QString("n%1: ").arg(idx); - if (type == CSG_TYPE_UNION) - text += "union() {\n"; - if (type == CSG_TYPE_DIFFERENCE) - text += "difference() {\n"; - if (type == CSG_TYPE_INTERSECTION) - text += "intersection() {\n"; - foreach (AbstractNode *v, children) - text += v->dump(indent + QString("\t")); - ((AbstractNode*)this)->dump_cache = text + indent + "}\n"; - } - return dump_cache; -} -#endif - std::string CsgNode::toString() const { std::stringstream stream; |