]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To improve memory usage
authorapo <apo@opencascade.com>
Mon, 15 Aug 2005 04:43:11 +0000 (04:43 +0000)
committerapo <apo@opencascade.com>
Mon, 15 Aug 2005 04:43:11 +0000 (04:43 +0000)
src/VISU_I/VISU_CorbaMedConvertor.cxx

index 38c471b2bee6c9ba2faf6b5ac62f5c032f67e89d..ed5c29e0c7b7bdccb4b99810ae69c1f7a07cbd9a 100644 (file)
@@ -630,7 +630,6 @@ VISU_MEDConvertor::Build(SALOME_MED::MED_ptr theMED)
          if(aNbCells > 0){
            TFamilyMap& aFamilyMap = aMeshOnEntity->myFamilyMap;
            PCFamily aFamily = aFamilyMap[aSupportName.in()](new TCFamily());
-           aFamily->myName = aSupportName.in();
            aFamily->myEntity = aVEntity;
            aFamily->myNbCells = aNbCells;
            aFamily->myCellsSize = aCellsSize;
@@ -669,8 +668,6 @@ VISU_MEDConvertor::Build(SALOME_MED::MED_ptr theMED)
 
          PCGroup aGroup(new TCGroup());
          aGroup->myGroup = aMEDGroup;
-         aGroup->myName = aSupportName.in();
-         aGroup->myMeshName = aMeshName.in();
          VISU::TFamilyAndEntitySet& aFamilyAndEntitySet = aGroup->myFamilyAndEntitySet;
          
          SALOME_MED::Family_array_var aFamilies = aMEDGroup->getFamilies();
@@ -686,9 +683,6 @@ VISU_MEDConvertor::Build(SALOME_MED::MED_ptr theMED)
              
              aGroup->myNbCells += aFamily->myNbCells;
              aGroup->myCellsSize += aFamily->myCellsSize;
-             
-             VISU::TBindGroups& aBindGroups = aFamily->myGroups;
-             aBindGroups.insert(aSupportName.in());
            }
          }