From 3fb8b71627624327712fd8cea7ff143ef5277287 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Tue, 10 Dec 2024 12:38:38 +0100 Subject: [PATCH] SPE-2600: Do not move objects after split (#13661) --- src/slic3r/GUI/Plater.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index adf299b97d..f8f7154dfc 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -2055,7 +2055,11 @@ void Plater::priv::split_object() // load all model objects at once, otherwise the plate would be rearranged after each one // causing original positions not to be kept + // Note that load_model_objects shifts the object to the active bed. To prevent it, + // raise a flag as if a project was being loaded. + s_multiple_beds.set_loading_project_flag(true); std::vector idxs = load_model_objects(new_objects); + s_multiple_beds.set_loading_project_flag(false); // clear previosli selection get_selection().clear();