From 84a42bcb58533176d725ae7c3e4a1a6134e7442a Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 21 Nov 2007 13:42:12 +0000 Subject: [PATCH] Fix for Bug IPAL17664 TC71: REGR: impossible to build stream lines --- src/PIPELINE/VISU_StreamLinesPL.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PIPELINE/VISU_StreamLinesPL.cxx b/src/PIPELINE/VISU_StreamLinesPL.cxx index 2f3ae2bb..b596155e 100644 --- a/src/PIPELINE/VISU_StreamLinesPL.cxx +++ b/src/PIPELINE/VISU_StreamLinesPL.cxx @@ -98,11 +98,13 @@ VISU_StreamLinesPL unsigned long int aTime = Superclass::GetMTime(); aTime = std::max(aTime, myStream->GetMTime()); - aTime = std::max(aTime, mySource->GetMTime()); aTime = std::max(aTime, myCenters->GetMTime()); aTime = std::max(aTime, myGeomFilter->GetMTime()); aTime = std::max(aTime, myPointsFilter->GetMTime()); + if ( mySource ) + aTime = std::max(aTime, mySource->GetMTime()); + return aTime; } -- 2.39.2