From f2b7b455b7014af4839a456e0437c5abf69c4e77 Mon Sep 17 00:00:00 2001 From: rnv Date: Tue, 30 Nov 2010 15:11:40 +0000 Subject: [PATCH] Fix for the bug IPAL21936 bounding box does not account real size of object. --- src/SVTK/SALOME_Actor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SVTK/SALOME_Actor.cxx b/src/SVTK/SALOME_Actor.cxx index f7b54f6bc..2048c611d 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -459,7 +459,8 @@ SALOME_Actor ::highlight(bool theIsHighlight) { vtkFloatingPointType aBounds[6]; - GetInput()->GetBounds(aBounds); + vtkDataSet * aDataSet = myPassFilter.back()->GetOutput(); + aDataSet->GetBounds(aBounds); myOutline->SetBounds(aBounds); myOutlineActor->SetVisibility( GetVisibility() && theIsHighlight ); -- 2.39.2