mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00: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:
@@ -3412,10 +3412,11 @@ void StatusPanel::update_ams_control_state(std::string ams_id, std::string slot_
|
|||||||
wxString load_error_info, unload_error_info;
|
wxString load_error_info, unload_error_info;
|
||||||
|
|
||||||
if (obj->is_in_printing() && !obj->can_resume()) {
|
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");
|
||||||
load_error_info = _L("The printer is busy on other print job");
|
unload_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 {
|
} else {
|
||||||
/*switch now*/
|
/*switch now*/
|
||||||
bool in_switch_filament = false;
|
bool in_switch_filament = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user