mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 18:36:00 +08:00
Fix of a missing parameter.
This commit is contained in:
parent
12cb930634
commit
bb6cde789d
@ -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…
x
Reference in New Issue
Block a user