Skip to content

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

C

Update Parameters when Save Scene by user actively

Abel Youbf81a5299620
diff --git a/toonz/sources/toonz/iocommand.cpp b/toonz/sources/toonz/iocommand.cpp
index 8ff8648ef..2e4132677 100644
--- a/toonz/sources/toonz/iocommand.cpp
+++ b/toonz/sources/toonz/iocommand.cpp
@@ -1514,10 +1514,15 @@ bool IoCmd::saveScene(const TFilePath &path, int flags) {
#endif
}
+ if (!isAutosave) {
+ CleanupParameters::GlobalParameters.assign(
+ scene->getProperties()->getCleanupParameters());
+ }
+
// Must wait for current save to finish, just in case
while (TApp::instance()->isSaveInProgress())
;
-
+
TApp::instance()->setSaveInProgress(true);
try {
scene->save(scenePath, xsheet);