Annotated the system printer profiles with a technology filed.
Code (as of now disabled) to suppress the SLA profiles for the initial alpha.
This commit is contained in:
parent
2c83bae9ed
commit
de65bd989d
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
BOOST_LOG_TRIVIAL(error) << boost::format("Vendor bundle: `%1%`: Invalid printer technology field: `%2%`") % id % technology_field;
|
||||||
model.technology = ptFFF;
|
model.technology = ptFFF;
|
||||||
}
|
}
|
||||||
section.second.get<std::string>("variants", "");
|
#if 0
|
||||||
|
// Remove SLA printers from the initial alpha.
|
||||||
|
if (model.technology == ptSLA)
|
||||||
|
continue;
|
||||||
|
#endif
|
||||||
|
section.second.get<std::string>("variants", "");
|
||||||
const auto variants_field = section.second.get<std::string>("variants", "");
|
const auto variants_field = section.second.get<std::string>("variants", "");
|
||||||
std::vector<std::string> variants;
|
std::vector<std::string> variants;
|
||||||
if (Slic3r::unescape_strings_cstyle(variants_field, variants)) {
|
if (Slic3r::unescape_strings_cstyle(variants_field, variants)) {
|
||||||
|
|
Loading…
Reference in a new issue