diff --git a/src/AIS/AIS_InteractiveContext.hxx b/src/AIS/AIS_InteractiveContext.hxx index 86fd16bed3..30b5a9f598 100644 --- a/src/AIS/AIS_InteractiveContext.hxx +++ b/src/AIS/AIS_InteractiveContext.hxx @@ -1386,14 +1386,7 @@ protected: //! @name internal methods if (myLastinMain.IsNull()) return; - if (myLastinMain->IsAutoHilight()) - { - myMainPM->ClearImmediateDraw(); - } - else - { - myLastinMain->Selectable()->ClearDynamicHighlight (myMainPM); - } + myLastinMain->Selectable()->ClearDynamicHighlight (myMainPM); } protected: //! @name internal fields