From: smh Date: Wed, 12 May 2004 13:02:20 +0000 (+0000) Subject: Fix on regression X-Git-Tag: Ecole_Ete_a5~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aa6fb6a49028d68501ca00e9dba4356289bbf9e5;p=modules%2Fkernel.git Fix on regression --- 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; }