]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Image.hxx
...
[cpPlugins.git] / lib / cpPlugins / Interface / Image.hxx
index 5b675b2bcada1e7a2a436d6c50594f30efd9cb30..ab2c5ea00c9b6399ce0afa635dd1bba997b50805 100644 (file)
@@ -48,6 +48,7 @@ SetITK( itk::Object* object )
     this->m_VTKObject = NULL;
     this->m_ITKvVTKConnection = NULL;
     this->Modified( );
+    return;
 
   } // fi
 
@@ -118,7 +119,7 @@ _ITK_2_VTK( itk::Object* object )
   typedef itk::Image< P, D > _I;
   typedef itk::ImageToVTKImageFilter< _I > _I2Vtk;
 
-  // Check if input object has the desired type
+  // Check (yes, again!!!) if input object has the desired type
   _I* image = dynamic_cast< _I* >( object );
   if( image == NULL )
     return;