Fix of a missing parameter.
This commit is contained in:
parent
12cb930634
commit
bb6cde789d
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||||
|
|
Loading…
Reference in a new issue