summaryrefslogtreecommitdiff
path: root/src/primitives.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/primitives.cc')
-rw-r--r--src/primitives.cc4
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
{
contact: Jan Huwald // Impressum