]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1477 Build Vertex - wrong selection in viewer
authornds <nds@opencascade.com>
Wed, 4 May 2016 07:24:21 +0000 (10:24 +0300)
committernds <nds@opencascade.com>
Wed, 4 May 2016 07:24:52 +0000 (10:24 +0300)
src/ModuleBase/ModuleBase_WidgetSelector.cpp

index 9b044c6024540878c34326422de20258c9d1f1d8..ea76a64c4c82a082e0e18cd574dd8bcbc6d80469 100755 (executable)
@@ -46,6 +46,9 @@ void ModuleBase_WidgetSelector::getGeomSelection(const ModuleBase_ViewerPrsPtr&
 void ModuleBase_WidgetSelector::onSelectionChanged()
 {
   QList<ModuleBase_ViewerPrsPtr> aSelected = getFilteredSelected();
+  // equal vertices should not be used here
+  ModuleBase_ISelection::filterSelectionOnEqualPoints(aSelected);
+
   bool isDone = setSelection(aSelected, true/*false*/);
   updateOnSelectionChanged(isDone);
 }