From: Anthony Geay Date: Tue, 23 Feb 2021 13:22:56 +0000 (+0100) Subject: OK SMESH is activated X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=383d771bed487a4fb000d1b9d73d95e160313abe;p=modules%2Fsmesh.git OK SMESH is activated --- diff --git a/src/SMESH_I/SMESH_Gen_No_Session_i.cxx b/src/SMESH_I/SMESH_Gen_No_Session_i.cxx index e548aead0..db261e7d4 100644 --- a/src/SMESH_I/SMESH_Gen_No_Session_i.cxx +++ b/src/SMESH_I/SMESH_Gen_No_Session_i.cxx @@ -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; }