From de65bd989d757df424198be0f13b60791a634a61 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Fri, 21 Dec 2018 20:09:25 +0100 Subject: [PATCH] Annotated the system printer profiles with a technology filed. Code (as of now disabled) to suppress the SLA profiles for the initial alpha. --- src/slic3r/GUI/Preset.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Preset.cpp b/src/slic3r/GUI/Preset.cpp index bfda0a2f38..fd2b264589 100644 --- a/src/slic3r/GUI/Preset.cpp +++ b/src/slic3r/GUI/Preset.cpp @@ -133,7 +133,12 @@ VendorProfile VendorProfile::from_ini(const ptree &tree, const boost::filesystem BOOST_LOG_TRIVIAL(error) << boost::format("Vendor bundle: `%1%`: Invalid printer technology field: `%2%`") % id % technology_field; model.technology = ptFFF; } - section.second.get("variants", ""); +#if 0 + // Remove SLA printers from the initial alpha. + if (model.technology == ptSLA) + continue; +#endif + section.second.get("variants", ""); const auto variants_field = section.second.get("variants", ""); std::vector variants; if (Slic3r::unescape_strings_cstyle(variants_field, variants)) {