Skip to content

Commit

Permalink
SPE-2600: Do not move objects after split (#13661)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmatena committed Dec 13, 2024
1 parent 5934f8d commit 3fb8b71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/slic3r/GUI/Plater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<size_t> idxs = load_model_objects(new_objects);
s_multiple_beds.set_loading_project_flag(false);

// clear previosli selection
get_selection().clear();
Expand Down

0 comments on commit 3fb8b71

Please sign in to comment.