]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Minor changes BR-D5-38-2003
authorapo <apo@opencascade.com>
Thu, 19 Jan 2006 08:22:14 +0000 (08:22 +0000)
committerapo <apo@opencascade.com>
Thu, 19 Jan 2006 08:22:14 +0000 (08:22 +0000)
src/SVTK/SALOME_Actor.cxx

index 510d9a8790c2b24e87efcbad1c6df6ff7ab1f2be..e8afb660459c56a57c3bb2e224c57bd42f0e80f0 100644 (file)
@@ -784,7 +784,9 @@ void
 SALOME_Actor
 ::highlight(bool theIsHighlight)
 {
-  myOutline->SetBounds( GetInput()->GetBounds() );
+  float aBounds[6];
+  GetInput()->GetBounds(aBounds);
+  myOutline->SetBounds(aBounds);
   myOutlineActor->SetVisibility( GetVisibility() && theIsHighlight );
   myIsHighlighted = theIsHighlight; 
 }