]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
small fix
authormpa <mpa@opencascade.com>
Wed, 19 Oct 2016 09:47:37 +0000 (12:47 +0300)
committermpa <mpa@opencascade.com>
Wed, 19 Oct 2016 09:47:37 +0000 (12:47 +0300)
src/Session/Session_ServerCheck.cxx
src/Session/Session_ServerThread.cxx

index 582374cd750c0dfc5e2ec487fb9fe2b174831e77..0c1786b24b58042568ffe8089907be3f56d0ac46 100644 (file)
@@ -354,7 +354,7 @@ void Session_ServerCheck::run()
       SALOME_NamingService &NS = *SINGLETON_<SALOME_NamingService>::Instance();
       ASSERT( SINGLETON_<SALOME_NamingService>::IsAlreadyExisting() );
       NS.init_orb( orb );
-      CORBA::Object_var obj = NS.Resolve( "/myStudy" );
+      CORBA::Object_var obj = NS.Resolve( "/Study" );
       SALOMEDS::Study_var study = SALOMEDS::Study::_narrow( obj );
       if ( !CORBA::is_nil( study ) ) {
         MESSAGE( "/myStudy is found" );
index 7574a6609a34418eef8dbaf7165c893be82202e9..753cacaab2cffe66c34f4a8051e12a760fa12ae8 100755 (executable)
@@ -215,7 +215,7 @@ void Session_ServerThread::ActivateSALOMEDS(int argc,
     // counted objects, they will be deleted by the POA when they are no
     // longer needed.    
     
-//    ClientFactory::createStudyManager(_orb,_root_poa); NB!!!
+    ClientFactory::createStudy(_orb,_root_poa);
   }
   catch(CORBA::SystemException&) {
     INFOS( "Caught CORBA::SystemException." );