From: apo Date: Wed, 21 Nov 2007 13:42:12 +0000 (+0000) Subject: Fix for Bug IPAL17664 X-Git-Tag: mergefrom_MERGE_MULTIPR_EVOLUTION_07-Dec-07~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=84a42bcb58533176d725ae7c3e4a1a6134e7442a;p=modules%2Fvisu.git Fix for Bug IPAL17664 TC71: REGR: impossible to build stream lines --- 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; }