From e0618a69eafa02c031cdf71ad09a36dc4bac18ca Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 2 Jul 2004 05:14:03 +0000
Subject: [PATCH] fixed old extrusion mesh generator (used the old 99999 volume
 hack!)

---
 Mesh/3D_Extrude_Old.cpp |  5 +++--
 doc/VERSIONS            | 22 +++++++++++-----------
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/Mesh/3D_Extrude_Old.cpp b/Mesh/3D_Extrude_Old.cpp
index 91bbce8c42..cbad0b33a6 100644
--- a/Mesh/3D_Extrude_Old.cpp
+++ b/Mesh/3D_Extrude_Old.cpp
@@ -1,4 +1,4 @@
-// $Id: 3D_Extrude_Old.cpp,v 1.27 2004-05-25 04:10:04 geuzaine Exp $
+// $Id: 3D_Extrude_Old.cpp,v 1.28 2004-07-02 05:14:03 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -667,7 +667,8 @@ void Extrude_Mesh_Old(Mesh * M)
 
   Create_BgMesh(WITHPOINTS, .2, LOCAL);
 
-  Tree_Left(M->Volumes, &THEV);
+  THEV = Create_Volume(1, MSH_VOLUME);
+  Tree_Add(M->Volumes, &THEV);
   Tree_Action(M->Surfaces, Extrude_Surface1);
 
   if(!CTX.mesh.oldxtrude_recombine) {
diff --git a/doc/VERSIONS b/doc/VERSIONS
index 255ec3826e..8acc21e915 100644
--- a/doc/VERSIONS
+++ b/doc/VERSIONS
@@ -1,18 +1,18 @@
-$Id: VERSIONS,v 1.231 2004-07-02 02:44:18 geuzaine Exp $
+$Id: VERSIONS,v 1.232 2004-07-02 05:14:03 geuzaine Exp $
 
 New in 1.54: integrated Netgen (3D mesh quality optimization +
 alternative 3D algorithm); Extrude Surface now always automatically
 creates a new volume (in the same way Extrude Point or Extrude Line
-create new lines and surfaces, respectively); fixed UNV output; make
-Layers' region numbering consistent between lines/surfaces/volumes;
-fixed home directory problem on Win98; new Plugin(CutParametric); the
-default project file is now created in the home directory if no
-current directory is defined (e.g. when double-clicking on the icon on
-Windows/MacOS); fixed the discrepancy between the orientation of
-geometrical surfaces and the associated surface meshes; added
-automatic orientation of surfaces in surface loops; generalized
-Plugin(Triangulate) to handle vector and tensor views; small bug fixes
-and cleanups.
+create new lines and surfaces, respectively); fixed UNV output; made
+the "Layers" region numbering consistent between lines, surfaces and
+volumes; fixed home directory problem on Win98; new
+Plugin(CutParametric); the default project file is now created in the
+home directory if no current directory is defined (e.g., when
+double-clicking on the icon on Windows/MacOS); fixed the discrepancy
+between the orientation of geometrical surfaces and the associated
+surface meshes; added automatic orientation of surfaces in surface
+loops; generalized Plugin(Triangulate) to handle vector and tensor
+views; small bug fixes and cleanups.
 
 New in 1.53: completed support for second order elements in the mesh
 module (lines, triangles, quadrangles, tetrahedra, hexahedra, prisms
-- 
GitLab