X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FBaseWidget.cxx;fp=lib%2FcpPlugins%2FBaseWidget.cxx;h=7bcca5266366eb932c777aaae49cbd42d2726034;hb=8b6eaedb25048704cb0a1a3fa1dd751c4fb25db4;hp=b8485c4b4d7dec5fb80446222254d742bfde720d;hpb=3143943a5befc9b72fb4fec14969b43cedd32c14;p=cpPlugins.git diff --git a/lib/cpPlugins/BaseWidget.cxx b/lib/cpPlugins/BaseWidget.cxx index b8485c4..7bcca52 100644 --- a/lib/cpPlugins/BaseWidget.cxx +++ b/lib/cpPlugins/BaseWidget.cxx @@ -2,6 +2,15 @@ #ifdef cpPlugins_QT4 +// ------------------------------------------------------------------------- +itk::ModifiedTimeType cpPlugins::BaseWidget:: +GetMTime( ) const +{ + // Let time only be managed by itk -> synch issues when data is + // represented by vtk + return( this->itk::Object::GetMTime( ) ); +} + // ------------------------------------------------------------------------- const cpPlugins::BaseWidget::TMPRWidget* cpPlugins::BaseWidget:: GetMPRViewer( ) const @@ -72,6 +81,8 @@ BaseWidget( ) m_MPRViewer( NULL ), m_SingleInteractor( NULL ) { + this->m_Parameters.ConfigureAsString( "Text" ); + this->m_Parameters.SetString( "Text", "" ); } // -------------------------------------------------------------------------