]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug PAL10314: Hang up on import 'essaiminimail.med' in SMESH
authorjfa <jfa@opencascade.com>
Tue, 18 Oct 2005 09:25:02 +0000 (09:25 +0000)
committerjfa <jfa@opencascade.com>
Tue, 18 Oct 2005 09:25:02 +0000 (09:25 +0000)
src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx

index 8388327d91af7d64048b6ee04b50f72f003a7606..b9d84175f20f51c3678f9d20543e28c07520eb69 100644 (file)
@@ -232,7 +232,7 @@ Driver_Mesh::Status DriverMED_R_SMESHDS_Mesh::Perform()
        EBooleen anIsNodeNum = aNodeInfo->IsElemNum();
        TInt aNbElems = aNodeInfo->GetNbElem();
        if(MYDEBUG) MESSAGE("Perform - aNodeInfo->GetNbElem() = "<<aNbElems<<"; anIsNodeNum = "<<anIsNodeNum);
-        DriverMED_FamilyPtr aFamily = myFamilies.begin()->second;
+        DriverMED_FamilyPtr aFamily;
         for(TInt iElem = 0; iElem < aNbElems; iElem++){
           double aCoords[3] = {0.0, 0.0, 0.0};
           for(TInt iDim = 0; iDim < 3; iDim++)