+ fixes #0001845: The Project Utility drops the diffuse colors

This commit is contained in:
wmayer
2014-12-04 01:23:41 +01:00
parent a6563fb03a
commit 0db3326e68

View File

@@ -80,6 +80,10 @@ const char* doctools =
"\n"
"def createDocument(filename, outpath):\n"
" files=getFilesList(filename)\n"
" dirname=os.path.dirname(filename)\n"
" guixml=os.path.join(dirname,\"GuiDocument.xml\")\n"
" if os.path.exists(guixml):\n"
" files.extend(getFilesList(guixml))\n"
" compress=zipfile.ZipFile(outpath,\'w\',zipfile.ZIP_DEFLATED)\n"
" for i in files:\n"
" dirs=os.path.split(i)\n"
@@ -97,9 +101,6 @@ const char* doctools =
" files=[]\n"
" files.append(filename)\n"
" files.extend(iter(handler.files))\n"
" dirname=os.path.join(dirname,\"GuiDocument.xml\")\n"
" if os.path.exists(dirname):\n"
" files.append(dirname)\n"
" return files\n"
;