mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-06 08:26:03 +08:00
Partial remove of obsolete printer_type
This commit is contained in:
parent
72fa3da675
commit
13a5404c3a
@ -3688,10 +3688,6 @@ bool GUI_App::select_printer_from_connect(const std::string& msg)
|
|||||||
model_name = compatible_printers.front();
|
model_name = compatible_printers.front();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// TODO: This should go away when compatible printers gives right information.
|
|
||||||
if (model_name.empty()) {
|
|
||||||
model_name = plater()->get_user_account()->get_model_from_json(msg);
|
|
||||||
}
|
|
||||||
if (model_name.empty()) {
|
if (model_name.empty()) {
|
||||||
BOOST_LOG_TRIVIAL(error) << "Failed to select printer from Connect. Printer_model is empty.";
|
BOOST_LOG_TRIVIAL(error) << "Failed to select printer from Connect. Printer_model is empty.";
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user