mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-21 20:12:16 -07:00
FIX: When printing is paused, filament loading and unloading are only supported for external slots.
JIRA: [STUDIO-14776] Change-Id: I7d8115f4424ce5d2453ce47d29da0c616c7e22bc (cherry picked from commit 9e9ef9ed0d13eca985fbb59609f198dccd43dd47)
This commit is contained in:
parent
6161c5c9bc
commit
8b640a148e
1 changed files with 5 additions and 4 deletions
|
|
@ -3412,10 +3412,11 @@ void StatusPanel::update_ams_control_state(std::string ams_id, std::string slot_
|
|||
wxString load_error_info, unload_error_info;
|
||||
|
||||
if (obj->is_in_printing() && !obj->can_resume()) {
|
||||
if (!obj->can_resume() || obj->is_in_extrusion_cali()) {
|
||||
load_error_info = _L("The printer is busy on other print job");
|
||||
unload_error_info = _L("The printer is busy on other print job");
|
||||
}
|
||||
load_error_info = _L("The printer is busy on other print job");
|
||||
unload_error_info = _L("The printer is busy on other print job");
|
||||
} else if (obj->can_resume() && !devPrinterUtil::IsVirtualSlot(ams_id)) {
|
||||
load_error_info = _L("When printing is paused, filament loading and unloading are only supported for external slots.");
|
||||
unload_error_info = _L("When printing is paused, filament loading and unloading are only supported for external slots.");
|
||||
} else {
|
||||
/*switch now*/
|
||||
bool in_switch_filament = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue