diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index cf0b1e9289..67f5ec33d2 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -2240,6 +2240,8 @@ unsigned int Plater::priv::update_background_process(bool force_validation, bool SlicingStatusEvent evt(EVT_SLICING_UPDATE, 0, status); on_slicing_update(evt); s_beds_just_switched = false; + // we hide slicing notification here to prevent empty notification and it will init itself again via the incoming progress (if there is any) + notification_manager->set_slicing_progress_hidden(); notification_manager->close_notification_of_type(NotificationType::ExportOngoing); q->sidebar().show_sliced_info_sizer(background_process.finished()); } @@ -3108,13 +3110,7 @@ void Plater::priv::on_slicing_update(SlicingStatusEvent &evt) // Avoid a race condition return; } - if (evt.status.percent < 0 && evt.status.text.empty()) { - // empty text and negative percent means there is a bed switch - // we hide the notification and it will init itself again via the incoming progress (if there is any) - notification_manager->set_slicing_progress_hidden(); - } else { - notification_manager->set_slicing_progress_percentage(evt.status.text, (float)evt.status.percent / 100.0f); - } + notification_manager->set_slicing_progress_percentage(evt.status.text, (float)evt.status.percent / 100.0f); } // Check template filaments and add warning