From: osa Date: Wed, 9 Sep 2020 08:36:42 +0000 (+0300) Subject: 0031758: Visualization, AIS_InteractiveContext - unify clearDynamicHighlight() method X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=15f47d15dc3056a7869ae3d33ff1037077c548c9;p=occt-copy.git 0031758: Visualization, AIS_InteractiveContext - unify clearDynamicHighlight() method --- 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