1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-27 10:35:51 +00:00

Fix of a missing parameter.

This commit is contained in:
bubnikv
2019-08-23 13:44:07 +02:00
parent 12cb930634
commit bb6cde789d
+1 -1
View File
@@ -377,7 +377,7 @@ void fix_model_by_win10_sdk_gui(ModelObject &model_object, int volume_idx)
// PresetBundle bundle; // PresetBundle bundle;
on_progress(L("Loading repaired model"), 80); on_progress(L("Loading repaired model"), 80);
DynamicPrintConfig config; DynamicPrintConfig config;
bool loaded = Slic3r::load_3mf(path_dst.string().c_str(), &config, &model); bool loaded = Slic3r::load_3mf(path_dst.string().c_str(), &config, &model, false);
boost::filesystem::remove(path_dst); boost::filesystem::remove(path_dst);
if (! loaded) if (! loaded)
throw std::runtime_error(L("Import of the repaired 3mf file failed")); throw std::runtime_error(L("Import of the repaired 3mf file failed"));