Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_shortcuts_dialog

This commit is contained in:
Enrico Turri 2020-02-12 08:09:22 +01:00
commit 742c6b6746

View file

@ -222,8 +222,8 @@ void SLAPrint::Steps::slice_model(SLAPrintObject &po)
auto &slice_grid = po.m_model_height_levels;
slicer.slice(slice_grid, SlicingMode::Regular, closing_r, &po.m_model_slices, thr);
if (po.m_hollowing_data) {
po.m_hollowing_data->interior.repair();
if (po.m_hollowing_data && ! po.m_hollowing_data->interior.empty()) {
po.m_hollowing_data->interior.repair(true);
TriangleMeshSlicer interior_slicer(&po.m_hollowing_data->interior);
std::vector<ExPolygons> interior_slices;
interior_slicer.slice(slice_grid, SlicingMode::Regular, closing_r, &interior_slices, thr);