Don't apply result if fill bed was canceled.

This commit is contained in:
tamasmeszaros committed 2020-11-30 09:38:22 +01:00
1 parent 031eca533e
commit 982e6eb55b
1 file changed
+3
+3
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];