diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-26 15:37:45 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-26 15:37:45 (GMT) |
commit | e502fab71d998c0bd025512c0c3884a1117479d1 (patch) | |
tree | 5fb916cf36fcf418b8f384c3429b8342855e9f17 /src/CSGTermEvaluator.cc | |
parent | c4bffdaf37fdf72a84a225ec584d3698fe398857 (diff) | |
parent | 4ff2d1af446c1f276c644b12e6ec4cc6db0b6d65 (diff) |
Merge branch 'master' into color-priority
Conflicts:
openscad.pro
Diffstat (limited to 'src/CSGTermEvaluator.cc')
-rw-r--r-- | src/CSGTermEvaluator.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CSGTermEvaluator.cc b/src/CSGTermEvaluator.cc index 34f22da..4624d4c 100644 --- a/src/CSGTermEvaluator.cc +++ b/src/CSGTermEvaluator.cc @@ -56,10 +56,10 @@ void CSGTermEvaluator::applyToChildren(const AbstractNode &node, CSGTermEvaluato } } } - if (t1 && node.modinst->tag_highlight) { + if (t1 && node.modinst->isHighlight()) { this->highlights.push_back(t1); } - if (t1 && node.modinst->tag_background) { + if (t1 && node.modinst->isBackground()) { this->background.push_back(t1); t1.reset(); // don't propagate background tagged nodes } @@ -94,10 +94,10 @@ static shared_ptr<CSGTerm> evaluate_csg_term_from_ps(const State &state, std::stringstream stream; stream << node.name() << node.index(); shared_ptr<CSGTerm> t(new CSGTerm(ps, state.matrix(), state.color(), stream.str())); - if (modinst->tag_highlight) { + if (modinst->isHighlight()) { highlights.push_back(t); } - if (modinst->tag_background) { + if (modinst->isBackground()) { background.push_back(t); t.reset(); } |