Salome HOME
Join modifications from BR_Dev_For_4_0 tag V4_1_1.
[modules/superv.git] / src / Supervision / SuperV_Impl.cxx
index 541ec6ba2f8d8eab58a35b393f5f49fcbf765112..510d76c3b5f2b6aa14d5fa66c542497691041722 100644 (file)
@@ -104,7 +104,7 @@ Engines::TMPFile * SuperV_Impl::DumpPython( CORBA::Object_ptr theStudy ,
   string aStringGraph ;
   string aStringRebuildData ;
   aStringGraph =
-    "### This file is generated by SALOME automatically by dump python funcitonality\n"
+    "### This file is generated by SALOME automatically by dump python functionality\n"
       "### of Supervisor component\n\n";
   aStringRebuildData = "def RebuildData( theStudy ) :\n" ;
   if ( CORBA::is_nil( aStudy ) ) {
@@ -835,6 +835,7 @@ SUPERV::Graph_ptr SuperV_Impl::GraphE(const char * aGraphName ) {
     myGraph->SetObjRef( SUPERV::Graph::_duplicate( iobject ) ) ;
   }
   myGraph->ReadOnly() ;
+  myGraph->DataFlowEditor()->Graph()->ClearMapOfComponentNameContainer() ; // mkr : PAL13947
   endService( "SuperV_Impl::GraphE" );
   return SUPERV::Graph::_duplicate(iobject) ;
 }
@@ -884,6 +885,7 @@ SUPERV::StreamGraph_ptr SuperV_Impl::StreamGraphE(const char * aGraphName ) {
     myStreamGraph->SetObjRef( SUPERV::StreamGraph::_duplicate( iobject ) ) ;
   }
   myStreamGraph->ReadOnly() ;
+  myStreamGraph->DataFlowEditor()->Graph()->ClearMapOfComponentNameContainer() ; // mkr : PAL13947
   endService( "SuperV_Impl::StreamGraphE" );
   return SUPERV::StreamGraph::_duplicate(iobject) ;
 }