Salome HOME
Join modifications from V3_2_0_maintainance branch
[modules/smesh.git] / src / OBJECT / SMESH_Actor.cxx
index db2265289497425b66487001cb8b8177ee1ab638..f37734ac71f19d7a47ca112852232ba28d50a6f6 100644 (file)
@@ -1190,9 +1190,9 @@ void SMESH_ActorDef::UpdateHighlight(){
       myHighlitableActor->SetRepresentation(SMESH_DeviceActor::eWireframe);
     }else if(myRepresentation == ePoint || GetPointRepresentation()){
       myHighlitableActor->SetHighlited(anIsVisible);
-      myHighlitableActor->SetVisibility(anIsVisible);
       myHighlitableActor->GetExtractUnstructuredGrid()->
        SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::ePoints);
+      myHighlitableActor->SetVisibility(anIsVisible);
       myHighlitableActor->SetRepresentation(SMESH_DeviceActor::ePoint);
     }
   }