From: vsr Date: Tue, 10 Feb 2015 16:02:51 +0000 (+0300) Subject: Fix a bug in GetExistingSubObjects method - wrong conversion from CORBA::Boolean... X-Git-Tag: V7_6_0a1~51 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59f2b5a0d37ac697dbf142a2831041cb4974af55;p=modules%2Fgeom.git Fix a bug in GetExistingSubObjects method - wrong conversion from CORBA::Boolean to Standard_Boolean results in empty list when theGrupsOnly parameter is true --- diff --git a/src/GEOM_I/GEOM_IShapesOperations_i.cc b/src/GEOM_I/GEOM_IShapesOperations_i.cc index 6da56cedd..1e88b88f9 100644 --- a/src/GEOM_I/GEOM_IShapesOperations_i.cc +++ b/src/GEOM_I/GEOM_IShapesOperations_i.cc @@ -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();