Add loaded objects to the Slic3r::Print reference.

This commit is contained in:
Joseph Lenox 2018-05-13 09:19:44 -05:00
parent 9b81e7ad95
commit fa2ee0b8a1

View File

@ -342,6 +342,8 @@ std::vector<int> Plater::load_model_objects(ModelObjectPtrs model_objects) {
// Provide a warning if downscaling by 5x still puts it over the bed size.
}
this->print->auto_assign_extruders(o);
this->print->add_model_object(o);
}
for (const auto& i : obj_idx) { this->make_thumbnail(i); }
if (need_arrange) this->arrange();