From 59c4e0d0aea37ed401e157b56dc18b25baa21d99 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 3 Oct 2008 06:23:00 +0000 Subject: [PATCH] *** empty log message *** --- Common/OpenFile.cpp | 3 +++ Post/PViewDataGModelIO.cpp | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Common/OpenFile.cpp b/Common/OpenFile.cpp index 9b5180056c..751b1e154e 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 bce6f2c8b1..cfebecdc7f 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" -- GitLab