]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for Bug12202
authorapo <apo@opencascade.com>
Tue, 2 May 2006 12:10:10 +0000 (12:10 +0000)
committerapo <apo@opencascade.com>
Tue, 2 May 2006 12:10:10 +0000 (12:10 +0000)
TC: CRASH after import of "test18.med" file in MESH module.

src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx

index 6952acfd7908478714ed51417381ea1a2194066f..87f33c81c7a318f63047d443d68c184c2098668b 100644 (file)
@@ -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);