diff --git a/toonz/sources/toonzlib/txshsimplelevel.cpp b/toonz/sources/toonzlib/txshsimplelevel.cpp index f2dbcce..e6f9886 100644 --- a/toonz/sources/toonzlib/txshsimplelevel.cpp +++ b/toonz/sources/toonzlib/txshsimplelevel.cpp @@ -1431,6 +1431,7 @@ void TXshSimpleLevel::save(const TFilePath &fp, const TFilePath &oldFp, sl->setPalette(getPalette()); sl->setPath(getScene()->codeFilePath(app)); sl->setType(getType()); + sl->setDirtyFlag(getDirtyFlag()); std::set::iterator eft, efEnd = m_editableRange.end(); for (eft = m_editableRange.begin(); eft != efEnd; ++eft) { @@ -1450,6 +1451,8 @@ void TXshSimpleLevel::save(const TFilePath &fp, const TFilePath &oldFp, hookSet->eraseFrame(fid); } + sl->setRenumberTable(); + // Copy mesh level sl->save(app);