Tech ENABLE_SEQUENTIAL_LIMITS -> Reset sequential print clearance regions contours when clearing the plater

This commit is contained in:
enricoturri1966 2021-05-24 14:11:09 +02:00
parent 40b97c33c5
commit abbe7f7eea

View File

@ -2730,6 +2730,10 @@ void Plater::priv::reset()
reset_gcode_toolpaths(); reset_gcode_toolpaths();
gcode_result.reset(); gcode_result.reset();
#if ENABLE_SEQUENTIAL_LIMITS
view3D->get_canvas3d()->set_sequential_print_clearance(Polygons(), false);
#endif // ENABLE_SEQUENTIAL_LIMITS
// Stop and reset the Print content. // Stop and reset the Print content.
this->background_process.reset(); this->background_process.reset();
model.clear_objects(); model.clear_objects();