From 3a694848723bfa265242c86a83e78c2f650c8b1a Mon Sep 17 00:00:00 2001 From: tao wang Date: Fri, 29 Nov 2024 20:01:49 +0800 Subject: [PATCH] FIX:fixed the failure to obtain MW and ML information jira:[read stl] Change-Id: I45896294889e89bbab41ef4322a3ce107fa9cdc3 (cherry picked from commit df14cdb641dd42dc03a040ec02ab7e9d6a80fa19) --- src/slic3r/GUI/Plater.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index c900b7598..7fcd68e3d 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -3449,8 +3449,8 @@ void read_binary_stl(const std::string& filename, std::string& model_id, std::st size_t pos = ext_content.find('&'); if (pos != std::string::npos) { - ml_content = ext_content.substr(0, pos); - mw_content = ext_content.substr(pos + 1); + mw_content = ext_content.substr(0, pos); + ml_content = ext_content.substr(pos + 1); } if (ml_content.empty() && ext_content.find("ML") != std::string::npos) {