mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 09:56:04 +08:00
SPE-2600: Do not move objects after split (#13661)
This commit is contained in:
parent
5934f8d1e7
commit
3fb8b71627
@ -2055,7 +2055,11 @@ void Plater::priv::split_object()
|
|||||||
|
|
||||||
// load all model objects at once, otherwise the plate would be rearranged after each one
|
// load all model objects at once, otherwise the plate would be rearranged after each one
|
||||||
// causing original positions not to be kept
|
// 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);
|
std::vector<size_t> idxs = load_model_objects(new_objects);
|
||||||
|
s_multiple_beds.set_loading_project_flag(false);
|
||||||
|
|
||||||
// clear previosli selection
|
// clear previosli selection
|
||||||
get_selection().clear();
|
get_selection().clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user