]> Creatis software - clitk.git/commitdiff
Merge branch 'vectorImage' of git.creatis.insa-lyon.fr:clitk into vectorImage
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Mon, 17 Oct 2016 07:16:44 +0000 (09:16 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Mon, 17 Oct 2016 07:16:44 +0000 (09:16 +0200)
tools/clitkImageConvertGenericFilter.cxx

index a60338513175f4bb526f79b31d784af495a8fc39..a1b28c22014d14606902cd338ceb908170edd331 100644 (file)
@@ -171,9 +171,9 @@ void clitk::ImageConvertGenericFilter::UpdateWithInputImageType()
       // Empty meta info
       itk::MetaDataDictionary dict;// = new itk::MetaDataDictionary;
       input->SetMetaDataDictionary(dict);
-
-      this->SetNextOutput<InputImageType>(input);
     }
+    this->SetNextOutput<InputImageType>(input);
+
 
   } else {
     // "trick" to call independent versions of update according to the