Integrating new step, removing old and unused steps.

This commit is contained in:
tamasmeszaros 2019-03-27 10:59:29 +01:00
parent 34094bf1b8
commit bc74761513
4 changed files with 50 additions and 58 deletions

View file

@ -772,7 +772,7 @@ void Preview::load_print_as_sla()
std::vector<double> zs;
double initial_layer_height = print->material_config().initial_layer_height.value;
for (const SLAPrintObject* obj : print->objects())
if (obj->is_step_done(slaposIndexSlices) && !obj->get_slice_index().empty())
if (obj->is_step_done(slaposSliceSupports) && !obj->get_slice_index().empty())
{
auto low_coord = obj->get_slice_index().front().print_level();
for (auto& rec : obj->get_slice_index())