From: Pablo Garzon Date: Fri, 14 Apr 2023 09:06:16 +0000 (+0200) Subject: #3507 ManualContourModel_Box Usage with 1 group of points X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=563ebab4fa10b1d95b88767fca8f3b3920e99291;p=creaMaracasVisu.git #3507 ManualContourModel_Box Usage with 1 group of points --- diff --git a/bbtk/src/bbcreaMaracasVisuManualContourModel_Box.cxx b/bbtk/src/bbcreaMaracasVisuManualContourModel_Box.cxx index 79631de..41b98dc 100644 --- a/bbtk/src/bbcreaMaracasVisuManualContourModel_Box.cxx +++ b/bbtk/src/bbcreaMaracasVisuManualContourModel_Box.cxx @@ -916,7 +916,7 @@ void ManualContourModel_Box::Process() &lstIndexsOut,bbGetInputOpenClose() ); } // for - if (bbGetInputDoubleContour()==0) + if (bbGetInputDoubleContour()==0 || size == 1) { // Finish if Simple contours //////////////////// Set Out DoubleContour = 0