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/surface.cc | |
parent | eb81def6ebfa0997798808408e3d27f03eff1996 (diff) |
Removed temporary REMOVE_DUMP define
Diffstat (limited to 'src/surface.cc')
-rw-r--r-- | src/surface.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/surface.cc b/src/surface.cc index cd40e97..a7b58a1 100644 --- a/src/surface.cc +++ b/src/surface.cc @@ -56,9 +56,6 @@ public: bool center; int convexity; virtual PolySet *render_polyset(render_mode_e mode) const; -#ifndef REMOVE_DUMP - virtual QString dump(QString indent) const; -#endif }; AbstractNode *SurfaceModule::evaluate(const Context *ctx, const ModuleInstantiation *inst) const @@ -206,19 +203,6 @@ PolySet *SurfaceNode::render_polyset(render_mode_e) const return p; } -#ifndef REMOVE_DUMP -QString SurfaceNode::dump(QString indent) const -{ - if (dump_cache.isEmpty()) { - QString text; - text.sprintf("surface(file = \"%s\", center = %s);\n", - filename.toAscii().data(), center ? "true" : "false"); - ((AbstractNode*)this)->dump_cache = indent + QString("n%1: ").arg(idx) + text; - } - return dump_cache; -} -#endif - std::string SurfaceNode::toString() const { std::stringstream stream; |