FIX: [STUDIO-3016] not select model objects on load project

Change-Id: Ie204df31f2b352055ad23527a64e09b0372d97ce
This commit is contained in:
chunmao.guo 2023-06-05 13:53:49 +08:00 committed by Lane.Wei
parent 05c2148b82
commit 152df78310

View file

@ -3704,7 +3704,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
}
// automatic selection of added objects
if (!obj_idxs.empty() && view3D != nullptr) {
if (!obj_idxs.empty() && view3D != nullptr && !load_config) {
// update printable state for new volumes on canvas3D
wxGetApp().plater()->canvas3D()->update_instance_printable_state_for_objects(obj_idxs);