]> Creatis software - FrontAlgorithms.git/blobdiff - lib/fpa/Image/SkeletonFilter.hxx
...
[FrontAlgorithms.git] / lib / fpa / Image / SkeletonFilter.hxx
index 224829b93f5a37119a5ceea5f3421b26814b9f43..aa02e5976163499fae67d1f13f05aab9f48d40f9 100644 (file)
@@ -44,7 +44,7 @@ _BeforeGenerateData( )
 // -------------------------------------------------------------------------
 template< class _TInputImage, class _TDistanceMap >
 void fpa::Image::SkeletonFilter< _TInputImage, _TDistanceMap >::_TDijkstra::
-_UpdateOutputValue( const TNode& n )
+_UpdateOutputValue( TNode& n )
 {
   typedef typename _TSkeletonQueue::value_type _TSkeletonQueueValue;
 
@@ -218,6 +218,7 @@ GenerateData( )
         it = mst->GetParent( it );
 
       } // elihw
+      tags[ it ] = nTag;
       branches[ bIt->first ] = p;
     }
     else