ENH: [STUDIO-2437] new object sinking interaction

Change-Id: Ia93f3ee92abc7cd2ff5d623c6e1edfe7233e31d4
This commit is contained in:
chunmao.guo 2023-03-10 16:45:02 +08:00 committed by Lane.Wei
parent 0ce72dfcb7
commit dbe1f3f5b1
7 changed files with 117 additions and 9 deletions

View file

@ -3529,9 +3529,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
q->model().load_from(model);
load_auxiliary_files();
}
// BBS: don't allow negative_z when load model objects
// auto loaded_idxs = load_model_objects(model.objects, is_project_file);
auto loaded_idxs = load_model_objects(model.objects);
auto loaded_idxs = load_model_objects(model.objects, is_project_file);
obj_idxs.insert(obj_idxs.end(), loaded_idxs.begin(), loaded_idxs.end());
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << ":" << __LINE__ << boost::format("import 3mf IMPORT_LOAD_MODEL_OBJECTS \n");