FIX: not saving instance when skip model

Change-Id: I07fea76b9579857801ad54dddbda64578b454e95
This commit is contained in:
chunmao.guo 2023-05-10 09:27:41 +08:00 committed by Lane.Wei
parent 9c01ff269e
commit 9240b6f7bc
1 changed files with 1 additions and 1 deletions

View File

@ -7029,7 +7029,7 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
stream << " <" << METADATA_TAG << " " << KEY_ATTR << "=\"" << PATTERN_BBOX_FILE_ATTR << "\" " << VALUE_ATTR << "=\"" << std::boolalpha << pattern_bbox_file_in_3mf << "\"/>\n";
}
if (instance_size > 0)
if (!m_skip_model && instance_size > 0)
{
for (unsigned int j = 0; j < instance_size; ++j)
{