+ implement global draw styles

+ use double precision in XML file
+ fix crash with in SoBrepFaceSet

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5083 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-11-01 13:52:38 +00:00
parent b2748ea427
commit a65d4fdda6
4 changed files with 100 additions and 22 deletions

View File

@@ -177,6 +177,8 @@ ZipWriter::ZipWriter(const char* FileName)
//FIXME: Check whether this is correct
ZipStream.imbue(std::locale::classic());
#endif
ZipStream.precision(12);
ZipStream.setf(ios::fixed,ios::floatfield);
}
ZipWriter::ZipWriter(std::ostream& os)
@@ -188,6 +190,8 @@ ZipWriter::ZipWriter(std::ostream& os)
//FIXME: Check whether this is correct
ZipStream.imbue(std::locale::classic());
#endif
ZipStream.precision(12);
ZipStream.setf(ios::fixed,ios::floatfield);
}
void ZipWriter::writeFiles(void)