From: nds Date: Sat, 27 Dec 2014 12:39:24 +0000 (+0300) Subject: This is not necessary anymore for edit operation because the selection is restored... X-Git-Tag: V_0.7.0_rc1~26^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=25fee85892d15965874d02b7763cf273ce4f13a4;p=modules%2Fshaper.git 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. --- 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(); }