mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-14 17:48:34 +05:00
Fix bug with dump study after salome_test. Second GEOM engine was created by Supervisor (from GEOM_Supervisor engine).
This commit is contained in:
parent
ce1fe95b18
commit
a5b52cc874
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user