From ef3d323102728e6ceb7b395de8a1dccadf1e8c8c Mon Sep 17 00:00:00 2001 From: David Kocik Date: Wed, 17 Jul 2024 16:08:35 +0200 Subject: [PATCH] Select printer from connect by nozzle diameter (instead of pritner_variant) and by additional config options. + Moved standalone functions to UserAccountUtils --- src/slic3r/GUI/GUI_App.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index eca27a09b6..046f1c2f42 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -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 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);