From befd244d71cf86a9ada4bd9c9b49a75975d8753e Mon Sep 17 00:00:00 2001 From: enk Date: Tue, 16 Jan 2007 14:08:17 +0000 Subject: [PATCH] Correction for Bug IPAL14356 (request of QA): Application hangs up after trying to create StreamLines. --- src/PIPELINE/VISU_StreamLinesPL.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/PIPELINE/VISU_StreamLinesPL.cxx b/src/PIPELINE/VISU_StreamLinesPL.cxx index 697e99d0..c7005b1a 100644 --- a/src/PIPELINE/VISU_StreamLinesPL.cxx +++ b/src/PIPELINE/VISU_StreamLinesPL.cxx @@ -514,16 +514,9 @@ VISU_StreamLinesPL GetInput2()->Update(); VISU::CellDataToPoint(myStream,myCellDataToPointData,GetInput2(),myFieldTransform); vtkFloatingPointType *aBounds = GetInput2()->GetBounds(); - - myStream->Update(); - // check: Is streamlines exists? If no points in stream lines, return input2 - if(myStream->GetOutput()->GetNumberOfPoints() == 0) - myGeomFilter->SetInput(GetInput2()); - else - myGeomFilter->SetInput(myStream->GetOutput()); - myGeomFilter->SetExtent(aBounds); myGeomFilter->ExtentClippingOn(); + myGeomFilter->SetInput(myStream->GetOutput()); return myGeomFilter->GetOutput(); } -- 2.39.2