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)
This commit is contained in:
eap 2013-02-20 08:46:42 +00:00
parent 98e6b6eb53
commit bb00f9a545

View File

@ -109,7 +109,7 @@ struct SMESH_TNodeXYZ : public gp_XYZ
{ {
const SMDS_MeshNode* _node; const SMDS_MeshNode* _node;
double _xyz[3]; 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) { if (e) {
assert( e->GetType() == SMDSAbs_Node ); assert( e->GetType() == SMDSAbs_Node );
_node = static_cast<const SMDS_MeshNode*>(e); _node = static_cast<const SMDS_MeshNode*>(e);