From 9791dc8caa2decdac8ec3f374af2bd01870a729e Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 23 Nov 2011 10:54:36 +0000 Subject: [PATCH] fix compile --- Geo/GFace.cpp | 1 + Geo/GModelVertexArrays.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Geo/GFace.cpp b/Geo/GFace.cpp index 0f761f4add..c3592f297c 100644 --- a/Geo/GFace.cpp +++ b/Geo/GFace.cpp @@ -9,6 +9,7 @@ #include "GModel.h" #include "GFace.h" #include "GEdge.h" +#include "GEdgeCompound.h" #include "MTriangle.h" #include "MQuadrangle.h" #include "MElementCut.h" diff --git a/Geo/GModelVertexArrays.cpp b/Geo/GModelVertexArrays.cpp index e4bc930ee4..b0c7fb5d40 100644 --- a/Geo/GModelVertexArrays.cpp +++ b/Geo/GModelVertexArrays.cpp @@ -7,6 +7,7 @@ #include "GmshMessage.h" #include "GmshDefines.h" #include "GModel.h" +#include "GEdgeCompound.h" #include "MLine.h" #include "MTriangle.h" #include "MQuadrangle.h" @@ -254,7 +255,8 @@ class initMeshGEdge { if(!e->getVisibility()) { if(e->getCompound()) { if(!e->getCompound()->getVisibility()) return; - } else + } + else return; } -- GitLab