From aa6fb6a49028d68501ca00e9dba4356289bbf9e5 Mon Sep 17 00:00:00 2001 From: smh Date: Wed, 12 May 2004 13:02:20 +0000 Subject: [PATCH] Fix on regression --- src/OBJECT/SALOME_Actor.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/OBJECT/SALOME_Actor.cxx b/src/OBJECT/SALOME_Actor.cxx index edc0a3bae..43a88b901 100644 --- a/src/OBJECT/SALOME_Actor.cxx +++ b/src/OBJECT/SALOME_Actor.cxx @@ -185,8 +185,10 @@ unsigned long int SALOME_Actor::GetMTime(){ unsigned long mTime = this->Superclass::GetMTime(); unsigned long time = myTransformFilter->GetMTime(); mTime = ( time > mTime ? time : mTime ); - time = myPassFilter[0]->GetInput()->GetMTime(); - mTime = ( time > mTime ? time : mTime ); + if(vtkDataSet *aDataSet = myPassFilter[0]->GetInput()){ + time = aDataSet->GetMTime(); + mTime = ( time > mTime ? time : mTime ); + } return mTime; } -- 2.39.2