From bb00f9a54515b242e29af98e6c19549296b3dde8 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 20 Feb 2013 08:46:42 +0000 Subject: [PATCH] 0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been generated - SMESH_TNodeXYZ( const SMDS_MeshElement* e) + SMESH_TNodeXYZ( const SMDS_MeshElement* e=0) --- src/SMESHUtils/SMESH_TypeDefs.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESHUtils/SMESH_TypeDefs.hxx b/src/SMESHUtils/SMESH_TypeDefs.hxx index daadb673c..711335eac 100644 --- a/src/SMESHUtils/SMESH_TypeDefs.hxx +++ b/src/SMESHUtils/SMESH_TypeDefs.hxx @@ -109,7 +109,7 @@ struct SMESH_TNodeXYZ : public gp_XYZ { const SMDS_MeshNode* _node; double _xyz[3]; - SMESH_TNodeXYZ( const SMDS_MeshElement* e):gp_XYZ(0,0,0),_node(0) { + SMESH_TNodeXYZ( const SMDS_MeshElement* e=0):gp_XYZ(0,0,0),_node(0) { if (e) { assert( e->GetType() == SMDSAbs_Node ); _node = static_cast(e);