From 3c293fc6ec5419e1de52522e50fc29a28981d90d Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Sat, 16 Jan 2021 06:02:42 +0100 Subject: [PATCH] First SMESH/GEOM case OK without external Server connection --- src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx index b5de2b0d9..3f0c74dbe 100644 --- a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx @@ -66,8 +66,8 @@ SALOME_ModuleCatalog::ModuleCatalog_ptr KERNEL::getModuleComponentServantSA() if(CORBA::is_nil(moduleCata)) { CORBA::ORB_ptr orb = KERNEL::getORB(); - char *argv[4] = {"SALOME_ModuleCatalog_Server","-common","\"/home/H87074/salomeDEV/DEV2/share/salome/resources/geom/GEOMCatalog.xml\"::\"/home/H87074/salomeDEV/DEV2/share/salome/resources/smesh/SMESHCatalog.xml\"",nullptr}; - SALOME_ModuleCatalogImpl *servant = new SALOME_ModuleCatalogImpl(3,argv,orb); + char *argv[3] = {"SALOME_ModuleCatalog_Server",nullptr}; + SALOME_ModuleCatalogImpl *servant = new SALOME_ModuleCatalogImpl(1,argv,orb); moduleCata = servant->_this(); } return SALOME_ModuleCatalog::ModuleCatalog::_duplicate(moduleCata); -- 2.39.2