From 9245e3b9f63ebf17e437ee8615c5810beae76753 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 16 Sep 2013 16:37:55 +0000
Subject: [PATCH] forgot to commit this

---
 Plugin/Crack.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Plugin/Crack.cpp b/Plugin/Crack.cpp
index ffbff8fc78..2d16d21043 100644
--- a/Plugin/Crack.cpp
+++ b/Plugin/Crack.cpp
@@ -115,6 +115,9 @@ PView *GMSH_CrackPlugin::execute(PView *view)
       for(int j = 0; j < crackElements[i]->getNumVertices(); j++){
         MVertex *v = crackElements[i]->getVertex(j);
         crackVertices.insert(v);
+      }
+      for(int j = 0; j < crackElements[i]->getNumPrimaryVertices(); j++){
+        MVertex *v = crackElements[i]->getVertex(j);
         if(bndVertices.find(v) == bndVertices.end())
           bndVertices.insert(v);
         else
-- 
GitLab