From d840e491027b1586b200eefe5db878be35180cf2 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 18 Sep 2015 17:52:31 +0300 Subject: [PATCH] Issue #999: Clear selection of deactivated objects --- src/XGUI/XGUI_Displayer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 5a61d0017..7f5932011 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -974,6 +974,7 @@ void XGUI_Displayer::activate(const Handle(AIS_InteractiveObject)& theIO, } if (isDeactivated) { // the selection from the previous activation modes should be cleared manually (#26172) + theIO->ClearSelected(); aContext->LocalContext()->ClearOutdatedSelection(theIO, true); if (theUpdateViewer) updateViewer(); -- 2.39.2