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:
vsr 2015-02-10 19:02:51 +03:00
parent c41299f629
commit 59f2b5a0d3

View File

@ -692,7 +692,7 @@ GEOM_IShapesOperations_i::GetExistingSubObjects (GEOM::GEOM_Object_ptr theShape,
if (aShape.IsNull()) return aSeq._retn();
Handle(TColStd_HSequenceOfTransient) aHSeq =
GetOperations()->GetExistingSubObjects(aShape, theGroupsOnly);
GetOperations()->GetExistingSubObjects(aShape, (Standard_Boolean)theGroupsOnly);
if (!GetOperations()->IsDone() || aHSeq.IsNull())
return aSeq._retn();