]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
[bos #16792] [CEA 16785] Cannot select COMPSOLID. Fix BasicProperties dialog. V9_6_0a2
authorjfa <jfa@opencascade.com>
Wed, 7 Oct 2020 08:08:55 +0000 (11:08 +0300)
committerjfa <jfa@opencascade.com>
Wed, 7 Oct 2020 08:08:55 +0000 (11:08 +0300)
src/MeasureGUI/MeasureGUI_PropertiesDlg.cxx

index 7f48beb38f9ace02850f9af6c41e42a29d64e3cc..f4343eac997ae7dcb75721976037fc341e04f0ff 100644 (file)
@@ -169,7 +169,9 @@ void MeasureGUI_PropertiesDlg::activateSelection()
   globalSelection( aTypes );
 
   std::list<int> needTypes;
-  needTypes.push_back( TopAbs_EDGE ), needTypes.push_back( TopAbs_WIRE ), needTypes.push_back( TopAbs_FACE ), needTypes.push_back( TopAbs_SHELL ), needTypes.push_back( TopAbs_SOLID ), needTypes.push_back( TopAbs_COMPOUND );
+  needTypes.push_back( TopAbs_EDGE ), needTypes.push_back( TopAbs_WIRE ),
+    needTypes.push_back( TopAbs_FACE ), needTypes.push_back( TopAbs_SHELL ),
+    needTypes.push_back( TopAbs_SOLID ), needTypes.push_back( TopAbs_COMPOUND );
   localSelection( needTypes );
 }
 
@@ -177,7 +179,8 @@ void MeasureGUI_PropertiesDlg::SelectionIntoArgument()
 {
   myObj.nullify();
   QList<TopAbs_ShapeEnum> aTypes;
-  aTypes << TopAbs_EDGE << TopAbs_WIRE << TopAbs_FACE << TopAbs_SHELL << TopAbs_SOLID << TopAbs_COMPOUND;
+  aTypes << TopAbs_EDGE << TopAbs_WIRE << TopAbs_FACE << TopAbs_SHELL
+         << TopAbs_SOLID << TopAbs_COMPSOLID << TopAbs_COMPOUND;
   myObj = getSelected( aTypes );
  
   if (!myObj) {