From: eap Date: Thu, 17 Nov 2011 08:34:15 +0000 (+0000) Subject: untabify X-Git-Tag: V6_4_0rc1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5ced91ed6261746a28ca3a46ff99fc0269b6fbb9;p=modules%2Fsmesh.git untabify --- diff --git a/src/OBJECT/SMESH_Actor.cxx b/src/OBJECT/SMESH_Actor.cxx index 8a4df7dbb..42800dd76 100644 --- a/src/OBJECT/SMESH_Actor.cxx +++ b/src/OBJECT/SMESH_Actor.cxx @@ -1637,18 +1637,18 @@ void SMESH_ActorDef::UpdateHighlight(){ case SMESH_DeviceActor::eWireframe: { if(myIsHighlighted) { - myHighlitableActor->SetProperty(myHighlightProp); + myHighlitableActor->SetProperty(myHighlightProp); }else if(myIsPreselected){ - myHighlitableActor->SetProperty(myPreselectProp); + myHighlitableActor->SetProperty(myPreselectProp); } else if(anIsVisible){ - (myRepresentation == eSurface) ? - myHighlitableActor->SetProperty(myOutLineProp) : myHighlitableActor->SetProperty(myEdgeProp); + (myRepresentation == eSurface) ? + myHighlitableActor->SetProperty(myOutLineProp) : myHighlitableActor->SetProperty(myEdgeProp); } if(GetUnstructuredGrid()->GetNumberOfCells()) { - myHighlitableActor->SetHighlited(anIsVisible); - myHighlitableActor->GetExtractUnstructuredGrid()-> - SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::eCells); - myHighlitableActor->SetRepresentation(SMESH_DeviceActor::eWireframe); + myHighlitableActor->SetHighlited(anIsVisible); + myHighlitableActor->GetExtractUnstructuredGrid()-> + SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::eCells); + myHighlitableActor->SetRepresentation(SMESH_DeviceActor::eWireframe); } myHighlitableActor->SetVisibility(anIsVisible); break; @@ -1656,11 +1656,11 @@ void SMESH_ActorDef::UpdateHighlight(){ case SMESH_DeviceActor::ePoint: { if(myIsHighlighted) { - myNodeActor->SetProperty(myHighlightProp); + myNodeActor->SetProperty(myHighlightProp); }else if(myIsPreselected) { - myNodeActor->SetProperty(myPreselectProp); + myNodeActor->SetProperty(myPreselectProp); } else if(anIsVisible) { - myNodeActor->SetProperty(myNodeProp); + myNodeActor->SetProperty(myNodeProp); } myNodeActor->SetRepresentation(SMESH_DeviceActor::ePoint); myNodeActor->GetExtractUnstructuredGrid()->SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::ePoints);