]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for Bug IPAL17664
authorapo <apo@opencascade.com>
Wed, 21 Nov 2007 13:42:12 +0000 (13:42 +0000)
committerapo <apo@opencascade.com>
Wed, 21 Nov 2007 13:42:12 +0000 (13:42 +0000)
   TC71: REGR: impossible to build stream lines

src/PIPELINE/VISU_StreamLinesPL.cxx

index 2f3ae2bb530e2d7bb7dad5e4c2819a88564a52ec..b596155ea19ace0fa2ba5c57a50bf5a0647b4f16 100644 (file)
@@ -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;
 }