Salome HOME
Sketch shape in plane selection filter should not be activated while PartSet_WidgetSh...
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.cpp
index 5a82272f4619177adefbfcaf9163fb2314680537..7f383d6efb676cea33b9196089339cbb671cf9f7 100644 (file)
@@ -534,10 +534,9 @@ void PartSet_WidgetSketchLabel::selectionModes(int& theModuleSelectionModes, QIn
     theModes << TopAbs_FACE;
 }
 
-void PartSet_WidgetSketchLabel::selectionFilters(int& theModuleSelectionFilters,
+void PartSet_WidgetSketchLabel::selectionFilters(QIntList& theModuleSelectionFilters,
                                                  SelectMgr_ListOfFilter& theSelectionFilters)
 {
-  theModuleSelectionFilters = -1;
   std::shared_ptr<GeomAPI_Pln> aPlane = plane();
   if (aPlane.get())
     return;