1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-13 14:27:08 +03:00

0031758: Visualization, AIS_InteractiveContext - unify clearDynamicHighlight() method

This commit is contained in:
osa
2020-09-08 18:22:45 +03:00
committed by bugmaster
parent 6b63dc83c3
commit bbbb6bff1f

View File

@@ -1332,15 +1332,8 @@ protected: //! @name internal methods
if (myLastPicked.IsNull())
return;
if (myLastPicked->IsAutoHilight())
{
myMainPM->ClearImmediateDraw();
}
else
{
myLastPicked->Selectable()->ClearDynamicHighlight (myMainPM);
}
}
//! Bind/Unbind status to object and its children
//! @param theObj [in] the object to change status