mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-26 11:50:33 +05:00
Fix a bug in GetExistingSubObjects method - wrong conversion from CORBA::Boolean to Standard_Boolean results in empty list when theGrupsOnly parameter is true
This commit is contained in:
parent
c41299f629
commit
59f2b5a0d3
@ -692,7 +692,7 @@ GEOM_IShapesOperations_i::GetExistingSubObjects (GEOM::GEOM_Object_ptr theShape,
|
|||||||
if (aShape.IsNull()) return aSeq._retn();
|
if (aShape.IsNull()) return aSeq._retn();
|
||||||
|
|
||||||
Handle(TColStd_HSequenceOfTransient) aHSeq =
|
Handle(TColStd_HSequenceOfTransient) aHSeq =
|
||||||
GetOperations()->GetExistingSubObjects(aShape, theGroupsOnly);
|
GetOperations()->GetExistingSubObjects(aShape, (Standard_Boolean)theGroupsOnly);
|
||||||
if (!GetOperations()->IsDone() || aHSeq.IsNull())
|
if (!GetOperations()->IsDone() || aHSeq.IsNull())
|
||||||
return aSeq._retn();
|
return aSeq._retn();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user