From 3d40d57f47c3c5def25c2988995f2a17ed36c01a Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 20 May 2005 07:07:58 +0000 Subject: [PATCH] SetShrinkable() according to thePipeLine->IsShrinkable() --- src/OBJECT/VISU_Actor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.2