From: apo Date: Tue, 2 May 2006 12:10:10 +0000 (+0000) Subject: Fix for Bug12202 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4c00d9962541527c9f697faec6e74bed4676835d;p=modules%2Fsmesh.git Fix for Bug12202 TC: CRASH after import of "test18.med" file in MESH module. --- diff --git a/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx b/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx index 6952acfd7..87f33c81c 100644 --- a/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx +++ b/src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx @@ -124,8 +124,8 @@ DriverMED_R_SMESHDS_Mesh // Reading MED nodes to the corresponding SMDS structure //------------------------------------------------------ PNodeInfo aNodeInfo = aMed->GetPNodeInfo(aMeshInfo); - if ( !aNodeInfo ) - return DRS_FAIL; + if(!aNodeInfo) + continue; PCoordHelper aCoordHelper = GetCoordHelper(aNodeInfo);