ENH:add shortcuts

Change-Id: I98f3e9deca4b4d8f0c9ab3cbe7e039c903981397
This commit is contained in:
xiangdong.yang 2022-08-05 18:57:52 +08:00 committed by Yifan Wu
parent 7e56fdabe6
commit 2193ac792e
21 changed files with 739 additions and 189 deletions

View file

@ -2671,7 +2671,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
if (en_3mf_file_type == En3mfType::From_Prusa) {
// do not reset the model config
load_config = false;
show_info(q, _L("The 3mf is not from Bambu lab, load geometry data only."), _L("Load 3mf"));
show_info(q, _L("The 3mf is not from Bambu Lab, load geometry data only."), _L("Load 3mf"));
}
else if (load_config && (file_version.maj() != app_version.maj())) {
// version mismatch, only load geometries
@ -2689,7 +2689,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
if (en_3mf_file_type == En3mfType::From_BBS)
show_info(q, _L("The 3mf is generated by old Bambu Studio, load geometry data only."), _L("Load 3mf"));
else
show_info(q, _L("The 3mf is not from Bambu lab, load geometry data only."), _L("Load 3mf"));
show_info(q, _L("The 3mf is not from Bambu Lab, load geometry data only."), _L("Load 3mf"));
for (ModelObject *model_object : model.objects) {
model_object->config.reset();
// Is there any modifier or advanced config data?
@ -2788,7 +2788,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
q->select_view_3D("3D");
// select plate 0 as default
q->select_plate(0);
show_info(q, _L("the 3mf is not compatible, load geometry data only!"), _L("Incompatible 3mf"));
show_info(q, _L("The 3mf is not compatible, load geometry data only!"), _L("Incompatible 3mf"));
for (ModelObject *model_object : model.objects) {
model_object->config.reset();
// Is there any modifier or advanced config data?