Salome HOME
0022082: EDF 1891 SMESH: Performance issues in SMESH filters
authoreap <eap@opencascade.com>
Tue, 29 Jan 2013 15:14:57 +0000 (15:14 +0000)
committereap <eap@opencascade.com>
Tue, 29 Jan 2013 15:14:57 +0000 (15:14 +0000)
commit83b9e1e926f4b78db4238e00e11b4397ea36d222
treeeb35c355e3ea6fca3ec9d56768cb2c59be174e21
parentaed57dc296f9af63584d39b6b64f488c7cd7d654
0022082: EDF 1891 SMESH: Performance issues in SMESH filters

In MapCells(SALOME_Actor*,const TColStd_IndexedMapOfInteger& theMap),
move the following code out of the loop on theMap

   UnShrink();
   if(theMapActor->IsShrunk()){
     SetShrinkFactor(theMapActor->GetShrinkFactor());
   }
   myMapIndex = theMap;
src/OBJECT/SMESH_SVTKActor.cxx