diff options
author | Marius Kintel <marius@kintel.net> | 2010-03-14 04:12:18 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2010-10-31 00:42:34 (GMT) |
commit | 9bb4fc829ad9466fe59ad35803ed1db82042342a (patch) | |
tree | 0e17313197ff8910b12b0a3bf44eec157e10fa99 /src/surface.cc | |
parent | e8b84d36c51327447334ce3bd6909501bab44805 (diff) |
Added REMOVE_DUMP define
Diffstat (limited to 'src/surface.cc')
-rw-r--r-- | src/surface.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/surface.cc b/src/surface.cc index 57b3f59..c28d9ba 100644 --- a/src/surface.cc +++ b/src/surface.cc @@ -56,7 +56,9 @@ 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 @@ -204,6 +206,7 @@ PolySet *SurfaceNode::render_polyset(render_mode_e) const return p; } +#ifndef REMOVE_DUMP QString SurfaceNode::dump(QString indent) const { if (dump_cache.isEmpty()) { @@ -214,6 +217,7 @@ QString SurfaceNode::dump(QString indent) const } return dump_cache; } +#endif std::string SurfaceNode::toString() const { |