]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/Widgets/SeedWidget.cxx
...
[cpPlugins.git] / lib / cpPlugins / Plugins / Widgets / SeedWidget.cxx
index c5c8383eb2a6813e802184a78e96aa48bbb9e97a..383b4a202804249da69d0187b3caf6729938a3b6 100644 (file)
@@ -13,7 +13,7 @@ SeedWidget( )
   : Superclass( ),
     m_Configured( false )
 {
-  this->_AddInput( "ReferenceImage" );
+  this->_AddInput( "ReferenceImage", true );
   this->_AddOutput< cpPlugins::Interface::PointList >( "Output" );
 
   this->m_Parameters->ConfigureAsBool( "SeedsAreInRealSpace" );
@@ -100,7 +100,7 @@ _GD0( itk::DataObject* image )
   } // fi
 
   // Single interactor
-  _S* s = dynamic_cast< _S* >( this->m_SingleInteractor.GetPointer( ) );
+  _S* s = dynamic_cast< _S* >( this->m_SingleInteractor );
   if( s != NULL )
   {
     if( this->m_Configured )