mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 22:16:19 +08:00
FIX:Fixed loading filament error of the last AMS
jira:[STUDIO-11353] Change-Id: I09f111a7c0b0c7234936d46e905109215f5e4ac4
This commit is contained in:
parent
0dba698809
commit
41c0db1029
@ -2201,7 +2201,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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user