mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
refine the prompt hint for other vendor's 3mf
Change-Id: I8dbb63031a0d32bb19ee67a0091cb80b35424b81
This commit is contained in:
parent
b30370196f
commit
11a7fe1f32
2 changed files with 23 additions and 18 deletions
|
@ -2671,14 +2671,14 @@ 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 compatible, load geometry data only!"), _L("Incompatible 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
|
||||
load_config = false;
|
||||
if (!load_model) {
|
||||
// only load config case, return directly
|
||||
show_info(q, _L("The Config is not compatible and can not be loaded."), _L("Incompatible 3mf"));
|
||||
show_info(q, _L("The Config can not be loaded."), _L("Load 3mf"));
|
||||
return empty_result;
|
||||
}
|
||||
load_old_project = true;
|
||||
|
@ -2686,7 +2686,10 @@ 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"));
|
||||
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"));
|
||||
for (ModelObject *model_object : model.objects) {
|
||||
model_object->config.reset();
|
||||
// Is there any modifier or advanced config data?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue