FIX: fix the duplicate model issue after open recent project in some corner cases

github issue-1185

Change-Id: I3be5be473cfe7328c4781b1533093cd860e64387
This commit is contained in:
lane.wei 2023-01-30 16:37:02 +08:00 committed by Lane.Wei
parent 7102a1e235
commit 64173b3fa3
4 changed files with 18 additions and 2 deletions

View file

@ -5347,6 +5347,8 @@ void PlateData::parse_filament_info(GCodeProcessorResult *result)
bool sub_model = !objects_data.empty();
bool write_object = sub_model || !m_split_model;
BOOST_LOG_TRIVIAL(error) << __FUNCTION__ << ":" << __LINE__ << boost::format(", filename %1%, m_split_model %2%, sub_model %3%")%filename % m_split_model % sub_model;
#if WRITE_ZIP_LANGUAGE_ENCODING
auto & zip_filename = filename;
#else