Fixed object shifted after saving to/reloading from .3mf and .zip.amf a multivolume object with printable parts moved by user

This commit is contained in:
Enrico Turri 2019-09-17 12:50:54 +02:00
parent 8e11a7b895
commit a93e63e296

View file

@ -2310,7 +2310,8 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
}
for (ModelObject* model_object : model.objects) {
model_object->center_around_origin(false);
if (!type_3mf && !type_zip_amf)
model_object->center_around_origin(false);
model_object->ensure_on_bed();
}