mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 16:40:32 +05:00
Fix Bug9100_DumpComputePosition.py in SSL mode
This commit is contained in:
parent
b3a36b5d8e
commit
8d185cc9e6
@ -33,7 +33,15 @@ SMESH_Gen_No_Session_i::SMESH_Gen_No_Session_i( CORBA::ORB_ptr orb,
|
|||||||
|
|
||||||
GEOM::GEOM_Gen_var SMESH_Gen_No_Session_i::GetGeomEngine( bool isShaper )
|
GEOM::GEOM_Gen_var SMESH_Gen_No_Session_i::GetGeomEngine( bool isShaper )
|
||||||
{
|
{
|
||||||
CORBA::Object_var temp = KERNEL::RetrieveCompo(isShaper ? "SHAPERSTUDY" : "GEOM");
|
CORBA::Object_var temp;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
temp = KERNEL::RetrieveCompo(isShaper ? "SHAPERSTUDY" : "GEOM");
|
||||||
|
}
|
||||||
|
catch(...)
|
||||||
|
{
|
||||||
|
return GEOM::GEOM_Gen::_nil();
|
||||||
|
}
|
||||||
myGeomGen = GEOM::GEOM_Gen::_narrow( temp );
|
myGeomGen = GEOM::GEOM_Gen::_narrow( temp );
|
||||||
return myGeomGen;
|
return myGeomGen;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user