diff --git a/Common/CommandLine.cpp b/Common/CommandLine.cpp index d497008a3828eea58f79bb3012ca73267b2b570a..749350a7035710ab56de01b45fcae2dbeb994a91 100644 --- a/Common/CommandLine.cpp +++ b/Common/CommandLine.cpp @@ -829,7 +829,7 @@ void GetOptions(int argc, char *argv[], bool readConfigFiles, bool exitOnError) #endif // convert mesh to latest binary format if(GModel::current()->getMeshStatus() > 0){ - CTX::instance()->mesh.mshFileVersion = 4.0; + CTX::instance()->mesh.mshFileVersion = 4.1; CTX::instance()->mesh.binary = 1; CreateOutputFile(fileName, FORMAT_MSH); } diff --git a/Common/CreateFile.cpp b/Common/CreateFile.cpp index 6cf6a2822e8d8b9228d9a28f7aa6f4770499bd00..35f8646a2a48dfd535ba9e4c411c4bf0bb3f87e4 100644 --- a/Common/CreateFile.cpp +++ b/Common/CreateFile.cpp @@ -39,7 +39,7 @@ int GetFileFormatFromExtension(const std::string &ext, double *version) else if(ext == ".msh1") { if(version) *version = 1.0; return FORMAT_MSH; } else if(ext == ".msh2") { if(version) *version = 2.2; return FORMAT_MSH; } else if(ext == ".msh3") { if(version) *version = 3.0; return FORMAT_MSH; } - else if(ext == ".msh4") { if(version) *version = 4.0; return FORMAT_MSH; } + else if(ext == ".msh4") { if(version) *version = 4.1; return FORMAT_MSH; } else if(ext == ".x3d") return FORMAT_X3D; else if(ext == ".pos") return FORMAT_POS; else if(ext == ".pvtu") return FORMAT_PVTU;