From: jfa Date: Wed, 20 Feb 2008 11:45:36 +0000 (+0000) Subject: Fix bug with dump study after salome_test. Second GEOM engine was created by Supervis... X-Git-Tag: V4_1_1rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a5b52cc874fcb2b240aa4973a4bff326c556ee0c;p=modules%2Fgeom.git Fix bug with dump study after salome_test. Second GEOM engine was created by Supervisor (from GEOM_Supervisor engine). --- 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); }