Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix edit frame range not creating temp files

John Dancel780e0a12684c
diff --git a/toonz/sources/toonzlib/txshsimplelevel.cpp b/toonz/sources/toonzlib/txshsimplelevel.cpp
index f2dbccefb..e6f988646 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<TFrameId>::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);