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/node.h | |
parent | e8b84d36c51327447334ce3bd6909501bab44805 (diff) |
Added REMOVE_DUMP define
Diffstat (limited to 'src/node.h')
-rw-r--r-- | src/node.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -52,9 +52,11 @@ public: int idx; // Node index (unique per tree) // FIXME: Remove these three with dump() method - QString dump_cache; virtual QString mk_cache_id() const; - virtual QString dump(QString indent) const; + QString dump() const; +#ifndef REMOVE_DUMP + QString dump_cache; +#endif // FIXME: Rewrite to visitor virtual class CSGTerm *render_csg_term(double m[20], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background) const; @@ -84,7 +86,9 @@ public: virtual CGAL_Nef_polyhedron renderCSGMesh() const; #endif virtual CSGTerm *render_csg_term(double m[20], QVector<CSGTerm*> *highlights, QVector<CSGTerm*> *background) const; +#ifndef REMOVE_DUMP virtual QString dump(QString indent) const; +#endif }; class AbstractPolyNode : public AbstractNode |