From 831e4de804ae4afa0ceddc637e2bdfd59a343325 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 5 Feb 2002 20:12:36 +0000 Subject: [PATCH] Fix seg fault in Free_Vertex due to mix up of Points/Vertices in VertexBound... --- Mesh/3D_Extrude.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Mesh/3D_Extrude.cpp b/Mesh/3D_Extrude.cpp index 6b3b42a56e..23f1b9c741 100644 --- a/Mesh/3D_Extrude.cpp +++ b/Mesh/3D_Extrude.cpp @@ -1,4 +1,4 @@ -// $Id: 3D_Extrude.cpp,v 1.52 2001-12-04 09:30:12 geuzaine Exp $ +// $Id: 3D_Extrude.cpp,v 1.53 2002-02-05 20:12:36 geuzaine Exp $ #include "Gmsh.h" #include "Numeric.h" @@ -156,7 +156,10 @@ void InitExtrude (){ if(Vertex_Bound) Tree_Delete(Vertex_Bound); Vertex_Bound = Tree_Create (sizeof (Vertex *), comparePosition); - Tree_Action(THEM->Points, ReplaceInVertexBound); + //ceci doit etre enleve: ca fout le boxon si des points du maillage + //correspondent a des points de controle de la geometrie, lors du Free. + //Tree_Action(THEM->Points, ReplaceInVertexBound); + Tree_Action(THEM->Vertices, ReplaceInVertexBound); } -- GitLab