modify problem in new project

This commit is contained in:
shun_iwasawa 2016-03-22 12:59:10 +09:00
parent 9a7da85be2
commit 28dc08231d

View file

@ -595,8 +595,10 @@ bool TProject::save(const TFilePath &projectPath)
pm->getFolderNames(foldernames); pm->getFolderNames(foldernames);
for (int f = 0; f < foldernames.size(); f++) { for (int f = 0; f < foldernames.size(); f++) {
TFilePath folderpath = decode(getFolder(foldernames.at(f))); TFilePath folderpath = decode(getFolder(foldernames.at(f)));
if (folderpath.isEmpty()) if (folderpath.isEmpty()
||!isConstantFolder(f) )
continue; continue;
TFilePath xmlPath = folderpath + "scenes.xml"; TFilePath xmlPath = folderpath + "scenes.xml";
TFileStatus xmlfs(xmlPath); TFileStatus xmlfs(xmlPath);
if (xmlfs.doesExist() && !xmlfs.isWritable()) if (xmlfs.doesExist() && !xmlfs.isWritable())