mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-25 23:01:09 -05:00
Fix crash when attempt to start remote live view for H2D
This commit is contained in:
1 parent
aebd2f5305
commit
057ba55c87
3 files changed
+2
No files matched your search
@@ -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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user