mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: Upgraded P1P to P1S shows up again as a P1P
jira: STUDIO-12944 Change-Id: If234cbd96cffa547e9cae47a71875efd1b097a25 (cherry picked from commit 2fa053dadef5750d1888743866ebca2867c85f7a)
This commit is contained in:
@@ -618,6 +618,14 @@ std::string MachineObject::convertToIp(long long ip)
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
std::string MachineObject::get_show_printer_type() const
|
||||
{
|
||||
std::string printer_type = this->printer_type;
|
||||
if (this->is_support_upgrade_kit && this->installed_upgrade_kit)
|
||||
printer_type = "C12";
|
||||
return printer_type;
|
||||
}
|
||||
|
||||
PrinterSeries MachineObject::get_printer_series() const
|
||||
{
|
||||
std::string series = DeviceManager::get_printer_series(printer_type);
|
||||
|
||||
Reference in New Issue
Block a user