]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/DataStructures/Skeleton.hxx
...
[cpPlugins.git] / lib / cpExtensions / DataStructures / Skeleton.hxx
index ff00cb653387cf8d9f267c5a4f461962a337d18b..e6635ae25c38c169e980bf854d22489757ce6600 100644 (file)
@@ -18,6 +18,8 @@ AddBranch( TPath* path )
     return;
 
   // Add path
+  this->SetVertex( a, a );
+  this->SetVertex( b, b );
   this->AddEdge( a, b, path );
   this->AddEdge( b, a, path );
   // TODO: this->Modified( );