Removed unneeded auto-arrange from Plater::priv::load_model_objects()
This commit is contained in:
parent
12ef6913d5
commit
f2d1153d8f
@ -1292,11 +1292,6 @@ std::vector<size_t> Plater::priv::load_model_objects(const ModelObjectPtrs &mode
|
|||||||
// print.add_model_object(object);
|
// 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) {
|
if (scaled_down) {
|
||||||
GUI::show_info(q,
|
GUI::show_info(q,
|
||||||
_(L("Your object appears to be too large, so it was automatically scaled down to fit your print bed.")),
|
_(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);
|
wxGetApp().obj_list()->add_object_to_list(idx);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (need_arrange) {
|
|
||||||
// arrange(); // TODO
|
|
||||||
}
|
|
||||||
|
|
||||||
update();
|
update();
|
||||||
#if !ENABLE_MODIFIED_CAMERA_TARGET
|
#if !ENABLE_MODIFIED_CAMERA_TARGET
|
||||||
_3DScene::zoom_to_volumes(canvas3D);
|
_3DScene::zoom_to_volumes(canvas3D);
|
||||||
|
Loading…
Reference in New Issue
Block a user