From: apo Date: Mon, 15 Aug 2005 04:43:11 +0000 (+0000) Subject: To improve memory usage X-Git-Tag: BR-D5-38-2003_D2005-12-09~120 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8bd7f2df52dafd18d0f875b56e6ca71e69e8ef02;p=modules%2Fvisu.git To improve memory usage --- diff --git a/src/VISU_I/VISU_CorbaMedConvertor.cxx b/src/VISU_I/VISU_CorbaMedConvertor.cxx index 38c471b2..ed5c29e0 100644 --- a/src/VISU_I/VISU_CorbaMedConvertor.cxx +++ b/src/VISU_I/VISU_CorbaMedConvertor.cxx @@ -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()); } }