From: nds Date: Fri, 21 Aug 2015 04:01:06 +0000 (+0300) Subject: Processing composilid like a solid in selection. X-Git-Tag: V_1.4.0_beta4~301 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b2d8151005ab597888b54e5db66653a60ddee214;p=modules%2Fshaper.git Processing composilid like a solid in selection. --- 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;