From 02a2c73ca5755ae5b9fdd6b96ce988d37c848a5e Mon Sep 17 00:00:00 2001 From: David Kocik Date: Mon, 9 Oct 2023 10:36:41 +0200 Subject: [PATCH] MINI available for Connect --- src/slic3r/GUI/PhysicalPrinterDialog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/PhysicalPrinterDialog.cpp b/src/slic3r/GUI/PhysicalPrinterDialog.cpp index 9b2c56f0e7..90ce1a998b 100644 --- a/src/slic3r/GUI/PhysicalPrinterDialog.cpp +++ b/src/slic3r/GUI/PhysicalPrinterDialog.cpp @@ -558,10 +558,13 @@ void PhysicalPrinterDialog::update_host_type(bool printer_change) || boost::starts_with(model, "XL") ); }; - // allowed models are: all MK3/S and MK2.5/S + // allowed models are: all MK3/S and MK2.5/S. + // Since 2.6.2 also MINI, which makes list of supported printers same for both services. + // Lets keep these 2 functions separated for now. auto model_supports_prusaconnect = [](const std::string& model) { return model.size() >= 2 && ((boost::starts_with(model, "MK") && model[2] > '2' && model[2] <= '9') + || boost::starts_with(model, "MINI") || boost::starts_with(model, "MK2.5") || boost::starts_with(model, "XL") );