]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
This is not necessary anymore for edit operation because the selection is restored...
authornds <natalia.donis@opencascade.com>
Sat, 27 Dec 2014 12:39:24 +0000 (15:39 +0300)
committernds <natalia.donis@opencascade.com>
Sat, 27 Dec 2014 12:39:24 +0000 (15:39 +0300)
src/XGUI/XGUI_Displayer.cpp

index 1e65fb9e24919977455ec7cf178047d53509de12..80128b254c6642eb190971c615ca7c08750d83be 100644 (file)
@@ -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();
   }