Fixed synchronization of background processing with the front end.

This commit is contained in:
bubnikv 2018-11-12 16:28:27 +01:00
parent 22dbcbcd9c
commit 48173e2a55
4 changed files with 66 additions and 32 deletions

View file

@ -570,9 +570,16 @@ bool PrintObject::invalidate_step(PrintObjectStep step)
// It also decides about what the wipe_into_infill / wipe_into_object features will do,
// and that too depends on many of the settings.
invalidated |= m_print->invalidate_step(psWipeTower);
// Invalidate G-code export in any case.
invalidated |= m_print->invalidate_step(psGCodeExport);
return invalidated;
}
bool PrintObject::invalidate_all_steps()
{
return Inherited::invalidate_all_steps() | m_print->invalidate_all_steps();
}
bool PrintObject::has_support_material() const
{
return m_config.support_material