From aeb2d4a02b09ac7fff049aad92f9ed559cbf0f47 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 25 Mar 2022 16:06:30 +0100 Subject: [PATCH] 3481 Bug ImageContinuousErode3D return empty object clean --- bbtk_creaVtk_PKG/src/bbcreaVtkImageContinuousErode3D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.47.1