From 10d382984feaaeb6243d8e7f58e48467a5195b5f Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 13 Nov 2001 08:07:50 +0000
Subject: [PATCH] fix seg fault for old extrusion

---
 Graphics/Mesh.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Graphics/Mesh.cpp b/Graphics/Mesh.cpp
index dc4c083ae6..6008817b96 100644
--- a/Graphics/Mesh.cpp
+++ b/Graphics/Mesh.cpp
@@ -1,4 +1,4 @@
-// $Id: Mesh.cpp,v 1.43 2001-09-25 08:20:50 geuzaine Exp $
+// $Id: Mesh.cpp,v 1.44 2001-11-13 08:07:50 geuzaine Exp $
 
 #include "Gmsh.h"
 #include "GmshUI.h"
@@ -117,7 +117,7 @@ void Draw_Mesh (Mesh *M) {
        CTX.render_mode != GMSH_SELECT){
       Tree_Action(M->Surfaces, Draw_Mesh_Surfaces);
       if(CTX.mesh.oldxtrude)//old extrusion algo
-	Tree_Action(M->Surfaces, Draw_Mesh_Extruded_Surfaces);
+	Tree_Action(M->Volumes, Draw_Mesh_Extruded_Surfaces);
     }
     /* fall-through! */
   case 1 :  
-- 
GitLab