summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-26 15:37:45 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-26 15:37:45 (GMT)
commite502fab71d998c0bd025512c0c3884a1117479d1 (patch)
tree5fb916cf36fcf418b8f384c3429b8342855e9f17 /src/node.h
parentc4bffdaf37fdf72a84a225ec584d3698fe398857 (diff)
parent4ff2d1af446c1f276c644b12e6ec4cc6db0b6d65 (diff)
Merge branch 'master' into color-priority
Conflicts: openscad.pro
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/node.h b/src/node.h
index 9b075fc..42547db 100644
--- a/src/node.h
+++ b/src/node.h
@@ -35,7 +35,9 @@ public:
overloaded to provide specialization for e.g. CSG nodes, primitive nodes etc.
Used for human-readable output. */
virtual std::string name() const;
- /*! Should return a PolySet of the given geometry. Returns NULL if smth. goes wrong */
+ /*! Should return a PolySet of the given geometry. Returns NULL if smth. goes wrong.
+ This is only called by PolySetEvaluator, to make sure polysets are inserted into
+ the cache*/
virtual class PolySet *evaluate_polyset(class PolySetEvaluator *) const { return NULL; }
const std::vector<AbstractNode*> &getChildren() const {
contact: Jan Huwald // Impressum