mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-29 05:12:04 +08:00
Select printer from connect by nozzle diameter (instead of pritner_variant) and by additional config options.
+ Moved standalone functions to UserAccountUtils
This commit is contained in:
parent
756a76a773
commit
ef3d323102
@ -3926,7 +3926,7 @@ bool GUI_App::select_printer_from_connect(const std::string& msg)
|
||||
}
|
||||
std::string nozzle = UserAccountUtils::get_nozzle_from_json(ptree);
|
||||
std::map<std::string, std::string> config_options_to_match;
|
||||
//UserAccountUtils::fill_config_options_from_json(ptree, config_options_to_match);
|
||||
UserAccountUtils::fill_config_options_from_json(ptree, config_options_to_match);
|
||||
BOOST_LOG_TRIVIAL(info) << "Select printer from Connect. Model: " << model_name << "nozzle: " << nozzle;
|
||||
// select printer
|
||||
const Preset* printer_preset = find_preset_by_nozzle_and_options(preset_bundle->printers, model_name, nozzle, config_options_to_match);
|
||||
|
Loading…
x
Reference in New Issue
Block a user