mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: fix the empty plate exception issue when slicing all
Change-Id: I55746b575025fdcc732fa2386cbce45a34bce210
This commit is contained in:
parent
45dd07cfe4
commit
03226c9e43
2 changed files with 6 additions and 2 deletions
|
@ -5635,7 +5635,8 @@ void Plater::priv::on_process_completed(SlicingProcessCompletedEvent &evt)
|
|||
}
|
||||
|
||||
//BBS: set the current plater's slice result to valid
|
||||
this->background_process.get_current_plate()->update_slice_result_valid_state(evt.success());
|
||||
if (!this->background_process.empty())
|
||||
this->background_process.get_current_plate()->update_slice_result_valid_state(evt.success());
|
||||
|
||||
//BBS: update the action button according to the current plate's status
|
||||
bool ready_to_slice = !this->partplate_list.get_curr_plate()->is_slice_result_valid();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue