mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-24 00:28:38 -07:00
Fix crash when attempt to start remote live view for H2D
This commit is contained in:
parent
aebd2f5305
commit
057ba55c87
3 changed files with 2 additions and 0 deletions
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) {
|
||||
if (!file.Lower().ends_with(".json")) continue;
|
||||
|
||||
std::string config_file = Slic3r::resources_dir() + "/printers/" + file.ToStdString();
|
||||
boost::nowide::ifstream json_file(config_file.c_str());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue