From: nds Date: Wed, 4 May 2016 07:24:21 +0000 (+0300) Subject: Issue #1477 Build Vertex - wrong selection in viewer X-Git-Tag: V_2.3.0~49^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9aeb69897970e21212d6f8926ec33d2eb696f18d;p=modules%2Fshaper.git Issue #1477 Build Vertex - wrong selection in viewer --- diff --git a/src/ModuleBase/ModuleBase_WidgetSelector.cpp b/src/ModuleBase/ModuleBase_WidgetSelector.cpp index 9b044c602..ea76a64c4 100755 --- a/src/ModuleBase/ModuleBase_WidgetSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetSelector.cpp @@ -46,6 +46,9 @@ void ModuleBase_WidgetSelector::getGeomSelection(const ModuleBase_ViewerPrsPtr& void ModuleBase_WidgetSelector::onSelectionChanged() { QList aSelected = getFilteredSelected(); + // equal vertices should not be used here + ModuleBase_ISelection::filterSelectionOnEqualPoints(aSelected); + bool isDone = setSelection(aSelected, true/*false*/); updateOnSelectionChanged(isDone); }