]> Creatis software - FrontAlgorithms.git/blobdiff - libs/fpa/Base/MinimumSpanningTree.hxx
...
[FrontAlgorithms.git] / libs / fpa / Base / MinimumSpanningTree.hxx
index 79ddebe4b8cf673aab43a7a778bb78bb7f38f966..c5838f319be7784e4d949796aee058ac1d442a75 100644 (file)
@@ -86,8 +86,7 @@ void fpa::Base::MinimumSpanningTree< _TVertex, _Superclass >::
 ClearSeeds( )
 {
   this->m_Seeds.clear( );
-  if( this->m_DataObject != NULL )
-    this->m_DataObject->Modified( );
+  this->Modified( );
 }
 
 // -------------------------------------------------------------------------
@@ -96,8 +95,7 @@ void fpa::Base::MinimumSpanningTree< _TVertex, _Superclass >::
 AddSeed( const _TVertex& seed )
 {
   this->m_Seeds.push_back( seed );
-  if( this->m_DataObject != NULL )
-    this->m_DataObject->Modified( );
+  this->Modified( );
 }
 
 // -------------------------------------------------------------------------