0031758: Visualization, AIS_InteractiveContext - unify clearDynamicHighlight() method
authorosa <osa@opencascade.com>
Tue, 8 Sep 2020 15:22:45 +0000 (18:22 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 9 Sep 2020 16:46:14 +0000 (19:46 +0300)
src/AIS/AIS_InteractiveContext.hxx

index 42b89bb..52adbfd 100644 (file)
@@ -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