mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH:display info when in slicing queue
Change-Id: I0dc2645e5679af310c8c0558c8ae47c9d62958e1 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
d9395e6405
commit
c9635174bd
3 changed files with 14 additions and 4 deletions
|
@ -2256,9 +2256,13 @@ void StatusPanel::update_subtask(MachineObject *obj)
|
|||
wxString prepare_text;
|
||||
if (obj->is_in_prepare())
|
||||
prepare_text = wxString::Format(_L("Downloading..."));
|
||||
else if (obj->print_status == "SLICING")
|
||||
prepare_text = wxString::Format(_L("Cloud Slicing..."));
|
||||
else
|
||||
else if (obj->print_status == "SLICING") {
|
||||
if (obj->queue_number <= 0) {
|
||||
prepare_text = wxString::Format(_L("Cloud Slicing..."));
|
||||
} else {
|
||||
prepare_text = wxString::Format(_L("In Cloud Slicing Queue, there are %s tasks ahead."), std::to_string(obj->queue_number));
|
||||
}
|
||||
} else
|
||||
prepare_text = wxString::Format(_L("Downloading..."));
|
||||
|
||||
if (obj->gcode_file_prepare_percent >= 0 && obj->gcode_file_prepare_percent <= 100)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue