mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
Fix crash when attempt to start remote live view for H2D
This commit is contained in:
BIN
resources/images/input_access_code_h2d_cn.png
Normal file
BIN
resources/images/input_access_code_h2d_cn.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 229 KiB |
BIN
resources/images/input_access_code_h2d_en.png
Normal file
BIN
resources/images/input_access_code_h2d_en.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 129 KiB |
@@ -6843,6 +6843,8 @@ boost::bimaps::bimap<std::string, std::string> DeviceManager::get_all_model_id_w
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (wxString file : m_files) {
|
for (wxString file : m_files) {
|
||||||
|
if (!file.Lower().ends_with(".json")) continue;
|
||||||
|
|
||||||
std::string config_file = Slic3r::resources_dir() + "/printers/" + file.ToStdString();
|
std::string config_file = Slic3r::resources_dir() + "/printers/" + file.ToStdString();
|
||||||
boost::nowide::ifstream json_file(config_file.c_str());
|
boost::nowide::ifstream json_file(config_file.c_str());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user