mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Close validate warnings on empty plater.
This commit is contained in:
@@ -3080,10 +3080,13 @@ unsigned int Plater::priv::update_background_process(bool force_validation, bool
|
|||||||
|
|
||||||
//actualizate warnings
|
//actualizate warnings
|
||||||
if (invalidated != Print::APPLY_STATUS_UNCHANGED) {
|
if (invalidated != Print::APPLY_STATUS_UNCHANGED) {
|
||||||
|
if (background_process.empty())
|
||||||
|
process_validation_warning(std::string());
|
||||||
actualize_slicing_warnings(*this->background_process.current_print());
|
actualize_slicing_warnings(*this->background_process.current_print());
|
||||||
actualize_object_warnings(*this->background_process.current_print());
|
actualize_object_warnings(*this->background_process.current_print());
|
||||||
show_warning_dialog = false;
|
show_warning_dialog = false;
|
||||||
process_completed_with_error = false;
|
process_completed_with_error = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (invalidated != Print::APPLY_STATUS_UNCHANGED && was_running && ! this->background_process.running() &&
|
if (invalidated != Print::APPLY_STATUS_UNCHANGED && was_running && ! this->background_process.running() &&
|
||||||
|
|||||||
Reference in New Issue
Block a user