From: eap Date: Wed, 20 Feb 2013 08:46:42 +0000 (+0000) Subject: 0022005: Error at the end of NETGEN 3D spheres mesh while tetrahedrons have been... X-Git-Tag: pluginMGCleaner~116 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb00f9a54515b242e29af98e6c19549296b3dde8;p=modules%2Fsmesh.git 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) --- 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);