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/primitives.cc | |
parent | e8b84d36c51327447334ce3bd6909501bab44805 (diff) |
Added REMOVE_DUMP define
Diffstat (limited to 'src/primitives.cc')
-rw-r--r-- | src/primitives.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/primitives.cc b/src/primitives.cc index 8838547..84e6a6d 100644 --- a/src/primitives.cc +++ b/src/primitives.cc @@ -69,7 +69,9 @@ public: int convexity; Value points, paths, triangles; virtual PolySet *render_polyset(render_mode_e mode) const; +#ifndef REMOVE_DUMP virtual QString dump(QString indent) const; +#endif }; AbstractNode *PrimitiveModule::evaluate(const Context *ctx, const ModuleInstantiation *inst) const @@ -526,6 +528,7 @@ sphere_next_r2: return p; } +#ifndef REMOVE_DUMP QString PrimitiveNode::dump(QString indent) const { if (dump_cache.isEmpty()) { @@ -548,6 +551,7 @@ QString PrimitiveNode::dump(QString indent) const } return dump_cache; } +#endif std::string PrimitiveNode::toString() const { |