Follow-up of dc6f97a6ad -> Fixed toolpaths visualization when new slicing is required

This commit is contained in:
enricoturri1966 2020-06-22 14:06:41 +02:00
parent 7207f215e9
commit 289f7a14a0
3 changed files with 14 additions and 5 deletions

View file

@ -5092,10 +5092,13 @@ void Plater::reslice()
if (clean_gcode_toolpaths)
reset_gcode_toolpaths();
#endif // ENABLE_GCODE_VIEWER
// update type of preview
p->preview->update_view_type(!clean_gcode_toolpaths);
#else
// update type of preview
p->preview->update_view_type(true);
#endif // ENABLE_GCODE_VIEWER
}
void Plater::reslice_SLA_supports(const ModelObject &object, bool postpone_error_messages)