]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix bug with dump study after salome_test. Second GEOM engine was created by Supervis...
authorjfa <jfa@opencascade.com>
Wed, 20 Feb 2008 11:45:36 +0000 (11:45 +0000)
committerjfa <jfa@opencascade.com>
Wed, 20 Feb 2008 11:45:36 +0000 (11:45 +0000)
src/GEOM_I_Superv/GEOM_Superv_i.cc

index 520fbc2fe4bde0ec244836d3f5ab3e89d613d5fc..731c0f77c4465bb1f0457497815010322ad0b406 100644 (file)
@@ -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);
 }