From 8241bd8556992a26cccee362a21a0dd95cf1f3c9 Mon Sep 17 00:00:00 2001 From: roentgen Date: Mar 23 2016 14:48:45 +0000 Subject: Merge pull request #1 from opentoonz/mod_newprj_bug Modify problem in new project --- diff --git a/toonz/sources/toonzlib/tproject.cpp b/toonz/sources/toonzlib/tproject.cpp index 2e3d9f5..8d17e17 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())