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:
parent
9e92085316
commit
3a69484872
|
@ -3449,8 +3449,8 @@ void read_binary_stl(const std::string& filename, std::string& model_id, std::st
|
||||||
|
|
||||||
size_t pos = ext_content.find('&');
|
size_t pos = ext_content.find('&');
|
||||||
if (pos != std::string::npos) {
|
if (pos != std::string::npos) {
|
||||||
ml_content = ext_content.substr(0, pos);
|
mw_content = ext_content.substr(0, pos);
|
||||||
mw_content = ext_content.substr(pos + 1);
|
ml_content = ext_content.substr(pos + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ml_content.empty() && ext_content.find("ML") != std::string::npos) {
|
if (ml_content.empty() && ext_content.find("ML") != std::string::npos) {
|
||||||
|
|
Loading…
Reference in New Issue