From a5b52cc874fcb2b240aa4973a4bff326c556ee0c Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 20 Feb 2008 11:45:36 +0000 Subject: [PATCH] Fix bug with dump study after salome_test. Second GEOM engine was created by Supervisor (from GEOM_Supervisor engine). --- src/GEOM_I_Superv/GEOM_Superv_i.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/GEOM_I_Superv/GEOM_Superv_i.cc b/src/GEOM_I_Superv/GEOM_Superv_i.cc index 520fbc2fe..731c0f77c 100644 --- a/src/GEOM_I_Superv/GEOM_Superv_i.cc +++ b/src/GEOM_I_Superv/GEOM_Superv_i.cc @@ -97,14 +97,16 @@ void GEOM_Superv_i::setGeomEngine() if ( !CORBA::is_nil(myGeomEngine) ) return; // get GEOM_Gen engine - /* + ///* SALOME_LifeCycleCORBA* lcc = new SALOME_LifeCycleCORBA( name_service ); Engines::Component_var comp = lcc->FindOrLoad_Component( "FactoryServer", "GEOM" ); - */ + //*/ + /* Engines::Container_var cont=GetContainerRef(); cont->load_component_Library("GEOM"); Engines::Component_var comp=cont->create_component_instance("GEOM",0); + */ myGeomEngine = GEOM::GEOM_Gen::_narrow(comp); }