From: mkr Date: Thu, 30 Oct 2008 06:34:03 +0000 (+0000) Subject: Fix for IPAL17729 : Vector presentation is wrong after scaling. X-Git-Tag: V5_1_0rc1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=899e1d01c5e7f8847506daed00cf38beffd6d991;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..df8e4fcb3 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); } /*!