+ 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user