]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorapo <apo@opencascade.com>
Fri, 22 Jul 2005 09:03:51 +0000 (09:03 +0000)
committerapo <apo@opencascade.com>
Fri, 22 Jul 2005 09:03:51 +0000 (09:03 +0000)
src/CONVERTOR/VISU_MedConvertor.cxx

index 7f9d742f4de877d80d53340a7c111bbd51362c4a..9a06c6b882a0da94ebf43f97d81e076e55eae8c3 100644 (file)
@@ -1150,12 +1150,13 @@ LoadGaussMesh(const MED::PWrapper& theMed,
 
       PMEDGauss aGauss = aGaussSubMesh->myGauss;
       MED::PGaussInfo aGaussInfo = aGauss->myGaussInfo;
-      PMEDSubProfile aSubProfile = aGaussSubMesh->mySubProfile;
       
       if(aGaussInfo){
        MED::PCellInfo aCellInfo = theMed->GetPCellInfo(aMeshInfo,
                                                        aMEntity, 
                                                        aMGeom);
+
+       PMEDSubProfile aSubProfile = aGaussSubMesh->mySubProfile;
        TElemNum anElemNum = aSubProfile->mySubMeshID;
        
        MED::TGaussCoord aGaussCoord;
@@ -1170,8 +1171,7 @@ LoadGaussMesh(const MED::PWrapper& theMed,
        INITMSG(MYDEBUG,
                "- aVGeom = "<<aVGeom<<
                "; aStatus = "<<aGaussSubMesh->myStatus<<
-               "; aNbCells = "<<aSubProfile->mySubMeshID.size()<<
-               "; aNbElem = "<<aGaussCoord.size()<<
+               "; aNbCells = "<<aGaussCoord.size()<<
                endl);
        
       }else{
@@ -1179,7 +1179,6 @@ LoadGaussMesh(const MED::PWrapper& theMed,
        INITMSG(MYDEBUG,
                "- aVGeom = "<<aVGeom<<
                "; aStatus = "<<aGaussSubMesh->myStatus<<
-               "; aNbCells = "<<aSubProfile->mySubMeshID.size()<<
                endl);
       }
     }