From: osa Date: Tue, 8 Sep 2020 15:22:45 +0000 (+0300) Subject: 0031758: Visualization, AIS_InteractiveContext - unify clearDynamicHighlight() method X-Git-Tag: V7_5_0_beta~88 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=bbbb6bff1f5f702e3e42df4acb4c933287ea4ba7;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 42b89bbd27..52adbfdace 100644 --- a/src/AIS/AIS_InteractiveContext.hxx +++ b/src/AIS/AIS_InteractiveContext.hxx @@ -1332,14 +1332,7 @@ protected: //! @name internal methods if (myLastPicked.IsNull()) return; - if (myLastPicked->IsAutoHilight()) - { - myMainPM->ClearImmediateDraw(); - } - else - { - myLastPicked->Selectable()->ClearDynamicHighlight (myMainPM); - } + myLastPicked->Selectable()->ClearDynamicHighlight (myMainPM); } //! Bind/Unbind status to object and its children