]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
[bos #32736][CEA] Threshold of criteria. Fixed showing Wireframe for hidden objects. kleontev/32736_Threshold_of_criteria_bugfix 8/head
authorKonstantin Leontev <Konstantin.LEONTEV@opencascade.com>
Wed, 26 Apr 2023 14:44:07 +0000 (15:44 +0100)
committerKonstantin Leontev <Konstantin.LEONTEV@opencascade.com>
Wed, 26 Apr 2023 14:44:07 +0000 (15:44 +0100)
src/OBJECT/SMESH_Actor.cxx

index b5f8aaee4a8c43f297a049f86be513fd14a0ac59..d54efb3b1ab65e75c2d30164c1b1d66dd1103b34 100644 (file)
@@ -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);