]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL16773: First display of a group of nodes appears as not selected in VTK.
authoreap <eap@opencascade.com>
Mon, 27 Aug 2007 07:02:36 +0000 (07:02 +0000)
committereap <eap@opencascade.com>
Mon, 27 Aug 2007 07:02:36 +0000 (07:02 +0000)
-      myHighlitableActor->SetVisibility(anIsVisible);
       myHighlitableActor->GetExtractUnstructuredGrid()->
  SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::ePoints);
+      myHighlitableActor->SetVisibility(anIsVisible);

src/OBJECT/SMESH_Actor.cxx

index 114a9549b6e951e77f574ff8fcd14bc2607f9a07..9f8d58ca338de8657beb3cf08d9e129ed144b38f 100644 (file)
@@ -1180,9 +1180,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);
     }
   }