OpenToonz - An open-source full-featured 2D animation creation software
C
change temporary file name suffix (#2325)
shun-iwasawaf8c030bad02b
diff --git a/toonz/sources/toonzlib/levelupdater.cpp b/toonz/sources/toonzlib/levelupdater.cppindex 59d364d3d..bc86051ab 100644--- a/toonz/sources/toonzlib/levelupdater.cpp+++ b/toonz/sources/toonzlib/levelupdater.cpp@@ -342,7 +342,9 @@ TFilePath LevelUpdater::getNewTemporaryFilePath(const TFilePath &fp) {int count = 1;for (;;) {- fp2 = fp.withName(fp.getWideName() + L"__" + std::to_wstring(count++));+ // changed the temporary name as the previous naming (like+ // "filename__1.png") had been misteken as sequential images+ fp2 = fp.withName(fp.getWideName() + L"_ottmp" + std::to_wstring(count++));if (!TSystem::doesExistFileOrLevel(fp2)) break;}