mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX: check filament type instead of filament id
jira: [STUDIO-12954] Change-Id: Iab008c698e6c71a6df2ac4a81801681eb4b94d6c (cherry picked from commit 295a6d51ab2f59bfeef84e9ff33dac3c0aea1d93)
This commit is contained in:
@@ -903,6 +903,10 @@ std::string MachineObject::get_filament_id(std::string ams_id, std::string tray_
|
||||
return this->get_tray(ams_id, tray_id).setting_id;
|
||||
}
|
||||
|
||||
std::string MachineObject::get_filament_type(const std::string& ams_id, const std::string& tray_id) const {
|
||||
return this->get_tray(ams_id, tray_id).type;
|
||||
}
|
||||
|
||||
void MachineObject::_parse_ams_status(int ams_status)
|
||||
{
|
||||
ams_status_sub = ams_status & 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user