From: Konstantin Leontev Date: Wed, 26 Apr 2023 14:44:07 +0000 (+0100) Subject: [bos #32736][CEA] Threshold of criteria. Fixed showing Wireframe for hidden objects. X-Git-Tag: V9_11_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fkleontev%2F32736_Threshold_of_criteria_bugfix;p=modules%2Fsmesh.git [bos #32736][CEA] Threshold of criteria. Fixed showing Wireframe for hidden objects. --- 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);