diff options
author | bubnikv <bubnikv@gmail.com> | 2017-05-25 23:27:53 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-05-25 23:27:53 +0300 |
commit | e000b22578a5e295958a28b5a2e74afc89109375 (patch) | |
tree | ee084d50eed7193b968c13448b4a5d2b6c6bfc12 /xs/src/libslic3r/PrintObject.cpp | |
parent | 7d64c465c0ffdb33578f0c65a2aaea4bb2facb78 (diff) |
Implemented wipe tower print path preview.
Diffstat (limited to 'xs/src/libslic3r/PrintObject.cpp')
-rw-r--r-- | xs/src/libslic3r/PrintObject.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xs/src/libslic3r/PrintObject.cpp b/xs/src/libslic3r/PrintObject.cpp index 601a4520a..5eb08a833 100644 --- a/xs/src/libslic3r/PrintObject.cpp +++ b/xs/src/libslic3r/PrintObject.cpp @@ -316,17 +316,21 @@ PrintObject::invalidate_step(PrintObjectStep step) this->invalidate_step(posPrepareInfill); this->_print->invalidate_step(psSkirt); this->_print->invalidate_step(psBrim); + this->_print->invalidate_step(psWipeTower); } else if (step == posPrepareInfill) { this->invalidate_step(posInfill); } else if (step == posInfill) { this->_print->invalidate_step(psSkirt); this->_print->invalidate_step(psBrim); + this->_print->invalidate_step(psWipeTower); } else if (step == posSlice) { this->invalidate_step(posPerimeters); this->invalidate_step(posSupportMaterial); + this->_print->invalidate_step(psWipeTower); } else if (step == posSupportMaterial) { this->_print->invalidate_step(psSkirt); this->_print->invalidate_step(psBrim); + this->_print->invalidate_step(psWipeTower); } return invalidated; @@ -1055,7 +1059,7 @@ void PrintObject::_slice() { BOOST_LOG_TRIVIAL(info) << "Slicing objects..."; -#if 0 +#if 1 // Disable parallelization for debugging purposes. static tbb::task_scheduler_init *tbb_init = nullptr; tbb_init = new tbb::task_scheduler_init(1); |