mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 17:45:58 +08:00
Enabling PrusaLink in physcal printers dialog for MINI.
This commit is contained in:
parent
63647f594e
commit
116fd0526b
@ -532,9 +532,9 @@ void PhysicalPrinterDialog::update_host_type(bool printer_change)
|
|||||||
const std::vector<VendorProfile::PrinterModel>& models = preset->vendor->models;
|
const std::vector<VendorProfile::PrinterModel>& models = preset->vendor->models;
|
||||||
auto it = std::find_if(models.begin(), models.end(),
|
auto it = std::find_if(models.begin(), models.end(),
|
||||||
[model_id](const VendorProfile::PrinterModel& model) { return model.id == model_id; });
|
[model_id](const VendorProfile::PrinterModel& model) { return model.id == model_id; });
|
||||||
if (it != models.end() && it->family == "MK3")
|
if (it != models.end() && (it->family == "MK3" || it->family == "MINI"))
|
||||||
continue;
|
continue;
|
||||||
} else if (!preset->vendor && model_id.rfind("MK3", 0) == 0) {
|
} else if (!preset->vendor && (boost::ends_with(model_id, "MK3") || boost::ends_with(model_id, "MINI"))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user