From 47b0f294be623562d5bbf75769304f06b435233e Mon Sep 17 00:00:00 2001 From: osa Date: Wed, 9 Sep 2020 11:36:42 +0300 Subject: [PATCH] 0031758: Visualization, AIS_InteractiveContext - unify clearDynamicHighlight() method --- src/AIS/AIS_InteractiveContext.hxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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