mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: 3mf: fix a popup issue while parsing old 3mf
jira: no-jira Change-Id: I89f0b83f146bea60ef821160254cee4d2c0eb0ca (cherry picked from commit 5f1714f02ceeb34519e0ec401d37be3ff7efa87b)
This commit is contained in:
@@ -4145,6 +4145,8 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
|
||||
//std::string type = bbs_get_attribute_value_string(attributes, num_attributes, TYPE_ATTR);
|
||||
std::string key = bbs_get_attribute_value_string(attributes, num_attributes, KEY_ATTR);
|
||||
std::string value = bbs_get_attribute_value_string(attributes, num_attributes, VALUE_ATTR);
|
||||
if (key.empty())
|
||||
return true;
|
||||
|
||||
auto get_vector_from_string = [](const std::string& str) -> std::vector<int> {
|
||||
std::stringstream stream(str);
|
||||
|
||||
Reference in New Issue
Block a user