From: eap Date: Mon, 27 Aug 2007 07:02:36 +0000 (+0000) Subject: PAL16773: First display of a group of nodes appears as not selected in VTK. X-Git-Tag: T_13901~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8f24328b4d0aa6c87e936939ba28fc72fba7aedb;p=modules%2Fsmesh.git PAL16773: First display of a group of nodes appears as not selected in VTK. - myHighlitableActor->SetVisibility(anIsVisible); myHighlitableActor->GetExtractUnstructuredGrid()-> SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::ePoints); + myHighlitableActor->SetVisibility(anIsVisible); --- diff --git a/src/OBJECT/SMESH_Actor.cxx b/src/OBJECT/SMESH_Actor.cxx index 114a9549b..9f8d58ca3 100644 --- a/src/OBJECT/SMESH_Actor.cxx +++ b/src/OBJECT/SMESH_Actor.cxx @@ -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); } }