]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
OK SMESH is activated agy/archi5_00
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 23 Feb 2021 13:22:56 +0000 (14:22 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 23 Feb 2021 13:22:56 +0000 (14:22 +0100)
src/SMESH_I/SMESH_Gen_No_Session_i.cxx

index e548aead0fe2c92b9ab23431698eaee2212150af..db261e7d419f675da56607298d50e581b41830a0 100644 (file)
@@ -29,14 +29,13 @@ SMESH_Gen_No_Session_i::SMESH_Gen_No_Session_i( CORBA::ORB_ptr orb,
                                                 const char*               instanceName,
                                                 const char*               interfaceName):SMESH_Gen_i(orb,poa,contId,instanceName,interfaceName,false)
 {
-
+  myNS = new SALOME_Fake_NamingService;
 }
 
 GEOM::GEOM_Gen_var SMESH_Gen_No_Session_i::GetGeomEngine( bool isShaper )
 {
   CORBA::Object_var temp = KERNEL::RetrieveCompo(isShaper ? "SHAPERSTUDY" : "GEOM");
   myGeomGen = GEOM::GEOM_Gen::_narrow( temp );
-  myNS = new SALOME_Fake_NamingService;
   return myGeomGen;
 }