mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 01:58:36 +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) )
|
if ( !CORBA::is_nil(myGeomEngine) )
|
||||||
return;
|
return;
|
||||||
// get GEOM_Gen engine
|
// get GEOM_Gen engine
|
||||||
/*
|
///*
|
||||||
SALOME_LifeCycleCORBA* lcc = new SALOME_LifeCycleCORBA( name_service );
|
SALOME_LifeCycleCORBA* lcc = new SALOME_LifeCycleCORBA( name_service );
|
||||||
Engines::Component_var comp = lcc->FindOrLoad_Component( "FactoryServer", "GEOM" );
|
Engines::Component_var comp = lcc->FindOrLoad_Component( "FactoryServer", "GEOM" );
|
||||||
*/
|
//*/
|
||||||
|
|
||||||
|
/*
|
||||||
Engines::Container_var cont=GetContainerRef();
|
Engines::Container_var cont=GetContainerRef();
|
||||||
cont->load_component_Library("GEOM");
|
cont->load_component_Library("GEOM");
|
||||||
Engines::Component_var comp=cont->create_component_instance("GEOM",0);
|
Engines::Component_var comp=cont->create_component_instance("GEOM",0);
|
||||||
|
*/
|
||||||
|
|
||||||
myGeomEngine = GEOM::GEOM_Gen::_narrow(comp);
|
myGeomEngine = GEOM::GEOM_Gen::_narrow(comp);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user