From e1d1e96602be5f483145e3379748f11031b0ee31 Mon Sep 17 00:00:00 2001 From: Konstantin Leontev Date: Wed, 26 Apr 2023 15:44:07 +0100 Subject: [PATCH] [bos #32736][CEA] Threshold of criteria. Fixed showing Wireframe for hidden objects. --- src/OBJECT/SMESH_Actor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2