From: Eduardo DAVILA Date: Fri, 25 Mar 2022 15:06:30 +0000 (+0100) Subject: 3481 Bug ImageContinuousErode3D return empty object clean X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=aeb2d4a02b09ac7fff049aad92f9ed559cbf0f47;p=creaVtk.git 3481 Bug ImageContinuousErode3D return empty object clean --- diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx b/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx index 808f526..9547e4c 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx @@ -42,7 +42,7 @@ vtkImageData* ImageContinuousErode3D::erodeFilterRecursive(vtkImageData* image, printf("EED ImageContinuousErode3D::erodeFilterRecursive 4\n"); return erodeFilter->GetOutput(); }else{ - erodeFilterRecursive(erodeFilter->GetOutput(), repetitions-1, x, y, z); + return erodeFilterRecursive(erodeFilter->GetOutput(), repetitions-1, x, y, z); } // if repetitions }