1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +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,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