]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug 10378: Regression: application hangs up after trying to import MED file...
authorjfa <jfa@opencascade.com>
Fri, 21 Oct 2005 09:21:16 +0000 (09:21 +0000)
committerjfa <jfa@opencascade.com>
Fri, 21 Oct 2005 09:21:16 +0000 (09:21 +0000)
src/DriverMED/DriverMED_R_SMESHDS_Mesh.cxx

index 4bf953aef626563b757c9a8ca219d49ffbce6a8b..296378cb7388514685ba3a404a5ef539c8ad8c36 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++)