diff --git a/src/OBJECT/SMESH_Actor.cxx b/src/OBJECT/SMESH_Actor.cxx index b5f8aaee4..d54efb3b1 100644 --- a/src/OBJECT/SMESH_Actor.cxx +++ b/src/OBJECT/SMESH_Actor.cxx @@ -1827,7 +1827,7 @@ void SMESH_ActorDef::UpdateHighlight() case SMESH_DeviceActor::eSurface: case SMESH_DeviceActor::eWireframe: { - anIsVisible = !IsWireframeOff(); + anIsVisible = anIsVisible && !IsWireframeOff(); if(myIsHighlighted) { myHighlitableActor->SetProperty(myHighlightProp);