From fec79085736d6425ed8409fe92f9073c29b3c163 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Fri, 14 Oct 2016 14:28:59 +0200 Subject: [PATCH] Debug clitkImageConvert tool Now the tool can write an image --- tools/clitkImageConvertGenericFilter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/clitkImageConvertGenericFilter.cxx b/tools/clitkImageConvertGenericFilter.cxx index a603385..a1b28c2 100644 --- a/tools/clitkImageConvertGenericFilter.cxx +++ b/tools/clitkImageConvertGenericFilter.cxx @@ -171,9 +171,9 @@ void clitk::ImageConvertGenericFilter::UpdateWithInputImageType() // Empty meta info itk::MetaDataDictionary dict;// = new itk::MetaDataDictionary; input->SetMetaDataDictionary(dict); - - this->SetNextOutput(input); } + this->SetNextOutput(input); + } else { // "trick" to call independent versions of update according to the -- 2.47.1