From 25fee85892d15965874d02b7763cf273ce4f13a4 Mon Sep 17 00:00:00 2001 From: nds Date: Sat, 27 Dec 2014 15:39:24 +0300 Subject: [PATCH] This is not necessary anymore for edit operation because the selection is restored in the PartSet_SketcherMgr::onMouseMove. It is possible that this functionality will be moved in another place. --- src/XGUI/XGUI_Displayer.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 1e65fb9e2..80128b254 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -203,11 +203,7 @@ void XGUI_Displayer::redisplay(ObjectPtr theObject, bool isUpdateViewer) Handle(AIS_InteractiveContext) aContext = AISContext(); if (aContext.IsNull()) return; - bool aToSelect = aContext->IsSelected(aAISIO); aContext->Redisplay(aAISIO, false); - // Restore selection state after redisplay - if (aToSelect) - aContext->SetSelected(aAISIO, false); if (isUpdateViewer) updateViewer(); } -- 2.39.2