From 7eea9beb24ba4192bf821c86ba82826018d10d3b Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Thu, 28 Apr 2005 16:45:45 +0000 Subject: [PATCH] initialize bds=0 by default, so that at least the code does not crash when doing normal things ;-) --- Mesh/Create.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Mesh/Create.cpp b/Mesh/Create.cpp index 5d3da4e43c..a5c2c737a4 100644 --- a/Mesh/Create.cpp +++ b/Mesh/Create.cpp @@ -1,4 +1,4 @@ -// $Id: Create.cpp,v 1.70 2005-04-19 16:03:10 remacle Exp $ +// $Id: Create.cpp,v 1.71 2005-04-28 16:45:45 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -658,7 +658,7 @@ Surface *Create_Surface(int Num, int Typ) pS = (Surface *) Malloc(sizeof(Surface)); pS->Dirty = 0; -// pS->thePolyRep = 0; + pS->bds = 0; pS->Color.type = 0; pS->Visible = VIS_GEOM | VIS_MESH; pS->Num = Num; @@ -715,8 +715,6 @@ void Free_Surface(void *a, void *b) delete pS->QuadVertexArray; if(pS->normals) delete pS->normals; -// if(pS->thePolyRep) -// delete pS->thePolyRep; Free(pS); pS = NULL; } -- GitLab