From a5eea4a7b9f21686b9eea64726f61b4727160633 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sun, 20 Aug 2006 03:54:54 +0000 Subject: [PATCH] small fix --- Geo/GModel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp index aff08b32a8..888a474fe8 100644 --- a/Geo/GModel.cpp +++ b/Geo/GModel.cpp @@ -1,4 +1,4 @@ -// $Id: GModel.cpp,v 1.15 2006-08-19 18:48:06 geuzaine Exp $ +// $Id: GModel.cpp,v 1.16 2006-08-20 03:54:54 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -173,7 +173,7 @@ int GModel::getMeshStatus() for(fiter it = firstFace(); it != lastFace(); ++it) if((*it)->triangles.size() || (*it)->quadrangles.size()) return 2; for(eiter it = firstEdge(); it != lastEdge(); ++it) - if((*it)->mesh_vertices.size()) return 1; + if((*it)->lines.size()) return 1; for(viter it = firstVertex(); it != lastVertex(); ++it) if((*it)->mesh_vertices.size()) return 0; return -1; -- GitLab