FIX: [STUDIO-3130] skip parse object in slice_info.xml

Change-Id: Iae50320f06404ba1bfddcda351f8b642bc35debb
This commit is contained in:
chunmao.guo 2023-06-29 15:13:56 +08:00 committed by Lane.Wei
parent 8009f8991d
commit d63316fe7e

View file

@ -3720,6 +3720,8 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
bool _BBS_3MF_Importer::_handle_start_config_object(const char** attributes, unsigned int num_attributes)
{
if (m_parsing_slice_info)
return true;
int object_id = bbs_get_attribute_value_int(attributes, num_attributes, ID_ATTR);
IdToMetadataMap::iterator object_item = m_objects_metadata.find(object_id);
if (object_item != m_objects_metadata.end()) {