[bos #32736][CEA] Threshold of criteria. Fixed showing Wireframe for hidden objects.

This commit is contained in:
Konstantin Leontev 2023-04-26 15:44:07 +01:00
parent 5710686a4b
commit e1d1e96602

View File

@ -1827,7 +1827,7 @@ void SMESH_ActorDef::UpdateHighlight()
case SMESH_DeviceActor::eSurface: case SMESH_DeviceActor::eSurface:
case SMESH_DeviceActor::eWireframe: case SMESH_DeviceActor::eWireframe:
{ {
anIsVisible = !IsWireframeOff(); anIsVisible = anIsVisible && !IsWireframeOff();
if(myIsHighlighted) { if(myIsHighlighted) {
myHighlitableActor->SetProperty(myHighlightProp); myHighlitableActor->SetProperty(myHighlightProp);