From 0072126573e4a115beca497868de8b1edd0296f3 Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 3 Mar 2006 10:10:49 +0000 Subject: [PATCH] Fix for bug PAL11717 ( Pb with sg.DisplayOnly with vtk viewer ). --- src/VTKViewer/VTKViewer_ViewFrame.cxx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/VTKViewer/VTKViewer_ViewFrame.cxx b/src/VTKViewer/VTKViewer_ViewFrame.cxx index 1453121b7..7e9bac250 100644 --- a/src/VTKViewer/VTKViewer_ViewFrame.cxx +++ b/src/VTKViewer/VTKViewer_ViewFrame.cxx @@ -515,14 +515,8 @@ void VTKViewer_ViewFrame::DisplayOnly(const Handle(SALOME_InteractiveObject)& th //m_RWInteractor->EraseAll(); EraseAll(); - using namespace SALOME::VTK; - ForEachIf(getRenderer()->GetActors(), - TIsSameIObject(theIObject), - TDisplayAction(aSel,theIObject)); - - ToolsGUI::SetVisibility( - aStudy->getStudyDocument(), theIObject->getEntry(), true, this ); - + Display(theIObject, true); + Repaint(); } -- 2.39.2