Skip to content

Commit

Permalink
+ fixes #1845: The Project Utility drops the diffuse colors
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Dec 4, 2014
1 parent a6563fb commit 0db3326
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Gui/DlgProjectUtility.cpp
Expand Up @@ -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"
Expand All @@ -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"
;

Expand Down

0 comments on commit 0db3326

Please sign in to comment.