Removed unneeded auto-arrange from Plater::priv::load_model_objects()

This commit is contained in:
Enrico Turri 2018-11-09 10:37:50 +01:00
parent 12ef6913d5
commit f2d1153d8f

View File

@ -1292,11 +1292,6 @@ std::vector<size_t> Plater::priv::load_model_objects(const ModelObjectPtrs &mode
// print.add_model_object(object);
}
// if user turned autocentering off, automatic arranging would disappoint them
if (get_config("autocenter") != "1") {
need_arrange = false;
}
if (scaled_down) {
GUI::show_info(q,
_(L("Your object appears to be too large, so it was automatically scaled down to fit your print bed.")),
@ -1307,10 +1302,6 @@ std::vector<size_t> Plater::priv::load_model_objects(const ModelObjectPtrs &mode
wxGetApp().obj_list()->add_object_to_list(idx);
}
if (need_arrange) {
// arrange(); // TODO
}
update();
#if !ENABLE_MODIFIED_CAMERA_TARGET
_3DScene::zoom_to_volumes(canvas3D);