diff --git a/Common/OpenFile.cpp b/Common/OpenFile.cpp index 9b5180056c4908b6c9f631ce38edd2b4cffb86ea..751b1e154ead934ca8a46a5f0dbad38f4742898c 100644 --- a/Common/OpenFile.cpp +++ b/Common/OpenFile.cpp @@ -306,6 +306,9 @@ int MergeFile(const char *name, int warn_if_missing) else if(!strcmp(ext, ".unv") || !strcmp(ext, ".UNV")){ status = m->readUNV(name); } + else if(!strcmp(ext, ".vtk") || !strcmp(ext, ".VTK")){ + status = m->readVTK(name); + } else if(!strcmp(ext, ".wrl") || !strcmp(ext, ".WRL") || !strcmp(ext, ".vrml") || !strcmp(ext, ".VRML") || !strcmp(ext, ".iv") || !strcmp(ext, ".IV")){ diff --git a/Post/PViewDataGModelIO.cpp b/Post/PViewDataGModelIO.cpp index bce6f2c8b15f100c8678f8111dc392476343b1de..cfebecdc7fbe6633a7100c0fbe0c78eee49e4460 100644 --- a/Post/PViewDataGModelIO.cpp +++ b/Post/PViewDataGModelIO.cpp @@ -3,7 +3,6 @@ // See the LICENSE.txt file for license information. Please report all // bugs and problems to <gmsh@geuz.org>. -#include <string.h> #include "Message.h" #include "PViewDataGModel.h" #include "MVertex.h"