From: mkr Date: Wed, 29 Oct 2008 12:56:56 +0000 (+0000) Subject: Fix for IPAL17729 : Vector presentation is wrong after scaling. X-Git-Tag: V4_1_4rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c4b1aa34e1ce9661d6e420ccf01b287396dcb395;p=modules%2Fgui.git Fix for IPAL17729 : Vector presentation is wrong after scaling. --- diff --git a/src/SVTK/SVTK_Renderer.cxx b/src/SVTK/SVTK_Renderer.cxx index cab5ca695..668cd13c7 100644 --- a/src/SVTK/SVTK_Renderer.cxx +++ b/src/SVTK/SVTK_Renderer.cxx @@ -309,6 +309,13 @@ SVTK_Renderer { myTransform->SetMatrixScale( theScale[0], theScale[1], theScale[2] ); AdjustActors(); + + vtkActorCollection* anActors = GetDevice()->GetActors(); + anActors->InitTraversal(); + while(vtkActor* anAct = anActors->GetNextActor()) + if(SALOME_Actor* anActor = dynamic_cast(anAct)) + if(anActor->isHighlighted() && !anActor->IsInfinitive()) + anActor->highlight(true); } /*!