Skip to content

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

C

Add a comment

Abel Youd03838ebe767
diff --git a/toonz/sources/toonz/iocommand.cpp b/toonz/sources/toonz/iocommand.cpp
index 2e4132677..f47b630d3 100644
--- a/toonz/sources/toonz/iocommand.cpp
+++ b/toonz/sources/toonz/iocommand.cpp
@@ -1514,6 +1514,8 @@ bool IoCmd::saveScene(const TFilePath &path, int flags) {
#endif
}
+ // Don't store current cleanup parameters to scene's parameters' cache if autosave
+ // (would save to scene file) .
if (!isAutosave) {
CleanupParameters::GlobalParameters.assign(
scene->getProperties()->getCleanupParameters());