]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Flórez-Valencia <leonardo.florez@gmail.com>
Wed, 22 Feb 2017 02:03:11 +0000 (21:03 -0500)
committerLeonardo Flórez-Valencia <leonardo.florez@gmail.com>
Wed, 22 Feb 2017 02:03:11 +0000 (21:03 -0500)
lib/cpExtensions/Algorithms/RasterContourFilter.hxx

index 4e7539a562c83919a123298372e2bef336a4f709..d325b1ac9f517061fe3c99e73873cd8203ef5e8b 100644 (file)
@@ -30,7 +30,7 @@ AddPoint( double p[ 2 ] )
 {
   TPoint pnt;
   pnt[ 0 ] = p[ 0 ];
-  pnt[ 1 ] = p[ 2 ];
+  pnt[ 1 ] = p[ 1 ];
   this->m_Contour.push_back( pnt );
   this->Modified( );
 }