From 66f0965cd0c3be025c9a72e0bf25e676752258d1 Mon Sep 17 00:00:00 2001 From: "zhou.xu" Date: Mon, 31 Mar 2025 11:52:37 +0800 Subject: [PATCH] FIX:If version information cannot be read, prompt 'The 3mf is not from Bambu Lab' jira: none Change-Id: Ief8164e86ba2d1db551ec91980f41aa4de7286b8 --- src/slic3r/GUI/Plater.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 72914fdeb..20c87ba13 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -5284,7 +5284,11 @@ std::vector Plater::priv::load_files(const std::vector& input_ } else if (load_config && config_loaded.empty()) { load_config = false; - show_info(q, _L("The 3mf is generated by old Bambu Studio, load geometry data only."), _L("Load 3mf")); + if (file_version.maj() == 0 && file_version.min() == 0 && file_version.patch() == 0) { + show_info(q, _L("The 3mf is not from Bambu Lab, load geometry data only."), _L("Load 3mf")); + } else { + show_info(q, _L("The 3mf is generated by old Bambu Studio, load geometry data only."), _L("Load 3mf")); + } } else if (!load_config) { // reset config except color