diff options
author | Marius Kintel <marius@kintel.net> | 2013-06-05 01:52:03 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-06-05 01:52:03 (GMT) |
commit | c719dde9719b7063247f6d6e149e66e75fbcf40a (patch) | |
tree | 9b6d31b98843c1247b8a022320da020f9de75bdd /src/CSGTermEvaluator.cc | |
parent | c5f792e99203a531870287b1c4a0df73b9294bbf (diff) |
More frequent progress updates, progress updates also for CSG evaluation
Diffstat (limited to 'src/CSGTermEvaluator.cc')
-rw-r--r-- | src/CSGTermEvaluator.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CSGTermEvaluator.cc b/src/CSGTermEvaluator.cc index a6b654c..71cf149 100644 --- a/src/CSGTermEvaluator.cc +++ b/src/CSGTermEvaluator.cc @@ -115,6 +115,7 @@ Response CSGTermEvaluator::visit(State &state, const AbstractPolyNode &node) if (ps) { t1 = evaluate_csg_term_from_ps(state, this->highlights, this->background, ps, node.modinst, node); + node.progress_report(); } } this->stored_term[node.index()] = t1; @@ -178,6 +179,7 @@ Response CSGTermEvaluator::visit(State &state, const RenderNode &node) shared_ptr<PolySet> ps; if (this->psevaluator) { ps = this->psevaluator->getPolySet(node, true); + node.progress_report(); } if (ps) { t1 = evaluate_csg_term_from_ps(state, this->highlights, this->background, @@ -201,6 +203,7 @@ Response CSGTermEvaluator::visit(State &state, const CgaladvNode &node) if (ps) { t1 = evaluate_csg_term_from_ps(state, this->highlights, this->background, ps, node.modinst, node); + node.progress_report(); } this->stored_term[node.index()] = t1; addToParent(state, node); |