mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-21 01:42:09 +00:00
Add handling for unknown filament IDs and improve filament type resolution
This commit is contained in:
@@ -775,7 +775,7 @@ std::string MoonrakerPrinterAgent::map_filament_type_to_generic_id(const std::st
|
||||
if (upper == "SBS") return "OFLSBS99";
|
||||
|
||||
// Unknown material
|
||||
return "__unknown__";
|
||||
return UNKNOWN_FILAMENT_ID;
|
||||
}
|
||||
|
||||
int MoonrakerPrinterAgent::handle_request(const std::string& dev_id, const std::string& json_str)
|
||||
|
||||
Reference in New Issue
Block a user