From b2d8151005ab597888b54e5db66653a60ddee214 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 21 Aug 2015 07:01:06 +0300 Subject: [PATCH] Processing composilid like a solid in selection. --- src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index 0af14a955..b83e14576 100755 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -330,7 +330,10 @@ QIntList ModuleBase_WidgetMultiSelector::getShapeTypes() const } else { for (int i = 0, aCount = myTypeCombo->count(); i < aCount; i++) { - aShapeTypes.append(ModuleBase_Tools::shapeType(myTypeCombo->itemText(i))); + TopAbs_ShapeEnum aType = ModuleBase_Tools::shapeType(myTypeCombo->itemText(i)); + aShapeTypes.append(aType); + if (aType == TopAbs_SOLID) + aShapeTypes.append(TopAbs_COMPSOLID); } } return aShapeTypes; -- 2.39.2