From: eap Date: Fri, 20 May 2005 07:07:58 +0000 (+0000) Subject: SetShrinkable() according to thePipeLine->IsShrinkable() X-Git-Tag: V2_2_0_VISU_improvement_2005-05-27~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3d40d57f47c3c5def25c2988995f2a17ed36c01a;p=modules%2Fvisu.git SetShrinkable() according to thePipeLine->IsShrinkable() --- diff --git a/src/OBJECT/VISU_Actor.cxx b/src/OBJECT/VISU_Actor.cxx index d26af3b9..782147ae 100644 --- a/src/OBJECT/VISU_Actor.cxx +++ b/src/OBJECT/VISU_Actor.cxx @@ -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.