FIX:fixed the failure to obtain MW and ML information

jira:[read stl]

Change-Id: I45896294889e89bbab41ef4322a3ce107fa9cdc3
(cherry picked from commit df14cdb641dd42dc03a040ec02ab7e9d6a80fa19)
This commit is contained in:
tao wang 2024-11-29 20:01:49 +08:00 committed by Lane.Wei
parent 9e92085316
commit 3a69484872
1 changed files with 2 additions and 2 deletions

View File

@ -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) {