mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-11 05:47:03 -06: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:
parent
15d140d582
commit
37a90cbf77
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue