mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 18:10:35 +05:00
check if module "GEOM" is found
This commit is contained in:
parent
ab4288fb65
commit
d696f7d582
@ -421,7 +421,8 @@ void SMESH_Gen_i::SetCurrentStudy( SALOMEDS::Study_ptr theStudy )
|
||||
}
|
||||
|
||||
SALOMEDS::StudyBuilder_var aStudyBuilder = myCurrentStudy->NewBuilder();
|
||||
aStudyBuilder->LoadWith( myCurrentStudy->FindComponent( "GEOM" ), GetGeomEngine() );
|
||||
if( !myCurrentStudy->FindComponent( "GEOM" )->_is_nil() )
|
||||
aStudyBuilder->LoadWith( myCurrentStudy->FindComponent( "GEOM" ), GetGeomEngine() );
|
||||
|
||||
// set current study for geom engine
|
||||
//if ( !CORBA::is_nil( GetGeomEngine() ) )
|
||||
|
Loading…
Reference in New Issue
Block a user