]> Creatis software - creaMaracasVisu.git/commitdiff
#3507 ManualContourModel_Box Usage with 1 group of points
authorPablo Garzon <gapablo2001@gmail.com>
Fri, 14 Apr 2023 09:06:16 +0000 (11:06 +0200)
committerPablo Garzon <gapablo2001@gmail.com>
Fri, 14 Apr 2023 09:06:16 +0000 (11:06 +0200)
bbtk/src/bbcreaMaracasVisuManualContourModel_Box.cxx

index 79631deb2a81406922df6965f301a5c138d0fe70..41b98dc8c8c94fec227f3341bb939e8bea46948c 100644 (file)
@@ -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