From 28dc08231d1dd006c714f8d12a6ccbc51d2fccbe Mon Sep 17 00:00:00 2001 From: shun_iwasawa Date: Tue, 22 Mar 2016 12:59:10 +0900 Subject: [PATCH] modify problem in new project --- toonz/sources/toonzlib/tproject.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toonz/sources/toonzlib/tproject.cpp b/toonz/sources/toonzlib/tproject.cpp index 2e3d9f5b..8d17e172 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())