From 59f2b5a0d37ac697dbf142a2831041cb4974af55 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 10 Feb 2015 19:02:51 +0300 Subject: [PATCH] Fix a bug in GetExistingSubObjects method - wrong conversion from CORBA::Boolean to Standard_Boolean results in empty list when theGrupsOnly parameter is true --- src/GEOM_I/GEOM_IShapesOperations_i.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();