From 383d771bed487a4fb000d1b9d73d95e160313abe Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 23 Feb 2021 14:22:56 +0100 Subject: [PATCH] OK SMESH is activated --- src/SMESH_I/SMESH_Gen_No_Session_i.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.39.2