Don't apply result if fill bed was canceled.

This commit is contained in:
tamasmeszaros 2020-11-30 09:36:51 +01:00
parent 031eca533e
commit 982e6eb55b

View file

@ -114,6 +114,9 @@ void FillBedJob::process()
void FillBedJob::finalize()
{
// Ignore the arrange result if aborted.
if (was_canceled()) return;
if (m_object_idx == -1) return;
ModelObject *model_object = m_plater->model().objects[m_object_idx];