]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
SetShrinkable() according to thePipeLine->IsShrinkable()
authoreap <eap@opencascade.com>
Fri, 20 May 2005 07:07:58 +0000 (07:07 +0000)
committereap <eap@opencascade.com>
Fri, 20 May 2005 07:07:58 +0000 (07:07 +0000)
src/OBJECT/VISU_Actor.cxx

index d26af3b9bae2171a4753b8f9e99bcec9a57cc806..782147ae0e9c0df828b35a742e60bcc15232795d 100644 (file)
@@ -124,7 +124,7 @@ void VISU_Actor::SetPipeLine(VISU_PipeLine* thePipeLine) {
       throw std::runtime_error("VISU_Actor::SetPipeLine >> There is no visible elements");
     //Bug SAL4221:  Mesh with less than 10 cells : shrink mode disable
     //SetShrinkable(aDataSet->GetNumberOfCells() > 10);
-    SetShrinkable(true);
+    SetShrinkable( thePipeLine->IsShrinkable() );
     //Now, we use vtkShrinkPolyData (not vtkShrinkFilter), 
     //and the class there is no such limitation.