Skip to content

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

C

modify problem in new project

shun_iwasawa28dc08231d1d
diff --git a/toonz/sources/toonzlib/tproject.cpp b/toonz/sources/toonzlib/tproject.cpp
index 2e3d9f5b8..8d17e172d 100644
--- a/toonz/sources/toonzlib/tproject.cpp
+++ b/toonz/sources/toonzlib/tproject.cpp
@@ -595,8 +595,10 @@ bool TProject::save(const TFilePath &projectPath)
pm->getFolderNames(foldernames);
for (int f = 0; f < foldernames.size(); f++) {
TFilePath folderpath = decode(getFolder(foldernames.at(f)));
- if (folderpath.isEmpty())
+ if (folderpath.isEmpty()
+ ||!isConstantFolder(f) )
continue;
+
TFilePath xmlPath = folderpath + "scenes.xml";
TFileStatus xmlfs(xmlPath);
if (xmlfs.doesExist() && !xmlfs.isWritable())