Salome HOME
Sketch shape in plane selection filter should not be activated while PartSet_WidgetSh...
[modules/shaper.git] / src / PartSet / PartSet_WidgetPoint2d.cpp
index a4ba3b237bc34bd067abfdcabf22230fe4163816..8782a90acd49dfcecd4be4b191d7e037bf019a00 100644 (file)
@@ -443,11 +443,11 @@ QList<QWidget*> PartSet_WidgetPoint2D::getControls() const
 }
 
 //********************************************************************
-void PartSet_WidgetPoint2D::selectionModes(QIntList& theModes, bool& isAdditional)
+void PartSet_WidgetPoint2D::selectionModes(int& theModuleSelectionModes, QIntList& theModes)
 {
+  theModuleSelectionModes = -1;
   theModes << TopAbs_VERTEX;
   theModes << TopAbs_EDGE;
-  isAdditional = true;
 }
 
 //********************************************************************