mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
FIX:Fixed loading filament error of the last AMS
jira:[STUDIO-11353] Change-Id: I09f111a7c0b0c7234936d46e905109215f5e4ac4 (cherry picked from commit 41c0db10298678030b2c6d2659dd7bc8bbdf8166)
This commit is contained in:
@@ -2125,7 +2125,7 @@ int MachineObject::command_ams_change_filament(bool load, std::string ams_id, st
|
||||
json j;
|
||||
try {
|
||||
auto tray_id = 0;
|
||||
if (ams_id < "16") {
|
||||
if (atoi(ams_id.c_str()) < 16) {
|
||||
tray_id = atoi(ams_id.c_str()) * 4 + atoi(slot_id.c_str());
|
||||
}
|
||||
// TODO: Orca hack
|
||||
|
||||
Reference in New Issue
Block a user