From: enk Date: Tue, 16 Jan 2007 14:08:17 +0000 (+0000) Subject: Correction for Bug IPAL14356 (request of QA): X-Git-Tag: V3_2_5~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=befd244d71cf86a9ada4bd9c9b49a75975d8753e;p=modules%2Fvisu.git Correction for Bug IPAL14356 (request of QA): Application hangs up after trying to create StreamLines. --- 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(); }