Bugfix: Preqreq calls should be calling slice(), not _slice(). _slice() invalidates the print state (!!!)

This commit is contained in:
Joseph Lenox 2018-07-25 23:34:14 -05:00
parent 60005d1bc6
commit 0b3496b45f

View File

@ -1364,7 +1364,7 @@ PrintObject::generate_support_material()
auto* print { this->_print }; auto* print { this->_print };
const auto& config { this->config }; const auto& config { this->config };
//prereqs //prereqs
this->_slice(); this->slice();
if (this->state.is_done(posSupportMaterial)) { return; } if (this->state.is_done(posSupportMaterial)) { return; }
this->state.set_started(posSupportMaterial); this->state.set_started(posSupportMaterial);