Merge pull request #1 from opentoonz/mod_newprj_bug

Modify problem in new project
This commit is contained in:
roentgen 2016-03-23 23:48:45 +09:00
commit 8241bd8556

View file

@ -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())