mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
#19078 [CEA] Mesh Group - Group on filter
This commit is contained in:
parent
436cccec5f
commit
822c54d232
@ -745,7 +745,10 @@ bool GEOMBase::GetShape( GEOM::GEOM_Object_ptr object, TopoDS_Shape& shape, cons
|
||||
if ( !CORBA::is_nil( object ) ) {
|
||||
TopAbs_ShapeEnum stype = (TopAbs_ShapeEnum)( object->GetShapeType() );
|
||||
if ( type == TopAbs_SHAPE || type == stype )
|
||||
shape = GEOM_Client::get_client().GetShape( GeometryGUI::GetGeomGen(), object );
|
||||
{
|
||||
GEOM::GEOM_Gen_var gen = object->GetGen();
|
||||
shape = GEOM_Client::get_client().GetShape( gen, object );
|
||||
}
|
||||
}
|
||||
return !shape.IsNull();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user