mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 21:32:11 +00:00
Fix crash when using old firmware
This commit is contained in:
@@ -299,6 +299,13 @@ static std::unordered_map<NozzleType, std::string>NozzleTypeEumnToStr = {
|
||||
{NozzleType::ntBrass, "brass"}
|
||||
};
|
||||
|
||||
static std::unordered_map<std::string, NozzleType>NozzleTypeStrToEumn = {
|
||||
{"undefine", NozzleType::ntUndefine},
|
||||
{"hardened_steel", NozzleType::ntHardenedSteel},
|
||||
{"stainless_steel", NozzleType::ntStainlessSteel},
|
||||
{"brass", NozzleType::ntBrass}
|
||||
};
|
||||
|
||||
// BBS
|
||||
enum PrinterStructure {
|
||||
psUndefine=0,
|
||||
|
||||
Reference in New Issue
Block a user