]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #999: Clear selection of deactivated objects
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 18 Sep 2015 14:52:31 +0000 (17:52 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 18 Sep 2015 14:55:12 +0000 (17:55 +0300)
src/XGUI/XGUI_Displayer.cpp

index 5a61d00179ed3ee22c41d2325f06be7a9272cb3e..7f5932011a1da79c11a9d3e1e57fdcdf125ab3dd 100644 (file)
@@ -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();