From 9158274a3cbee25d212649b923f4c0f91df691fc Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 5 Apr 2017 15:22:21 +0300 Subject: [PATCH] Issue #1948 multiply selection with Shift button pressed does not work It is important to use isSame instead of isEqual to check if shape is selected(came from owner) --- src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp index 81bf3970f..9e9111591 100755 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp @@ -815,7 +815,7 @@ bool ModuleBase_WidgetMultiSelector::findInSelection(const ObjectPtr& theObject, for (; anIt != aLast && !aFound; anIt++) { GeomShapePtr aCShape = *anIt; if (aCShape.get()) - aFound = aCShape->isEqual(aShape); + aFound = aCShape->isSame(aShape); } } return aFound; -- 2.39.2