modify problem in new project
This commit is contained in:
parent
9a7da85be2
commit
28dc08231d
1 changed files with 3 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue