From cb3514bcbd864721f031eb302f84b68fcfe79850 Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 18 Oct 2005 15:31:05 +0000 Subject: [PATCH] Patch on Bug GVIEW10227 Highlighted group of elements remains in 3D viewer. --- src/SVTK/SVTK_ViewWindow.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SVTK/SVTK_ViewWindow.cxx b/src/SVTK/SVTK_ViewWindow.cxx index 187b42f78..2c49a4e7a 100755 --- a/src/SVTK/SVTK_ViewWindow.cxx +++ b/src/SVTK/SVTK_ViewWindow.cxx @@ -63,14 +63,14 @@ SVTK_ViewWindow SVTK_Selector* aSelector = SVTK_Selector::New(); - SVTK_Renderer* aRenderer = SVTK_Renderer::New(); - aRenderer->Initialize(anIteractor->GetDevice(),aSelector); - SVTK_GenericRenderWindowInteractor* aDevice = SVTK_GenericRenderWindowInteractor::New(); aDevice->SetRenderWidget(anIteractor); aDevice->SetSelector(aSelector); + SVTK_Renderer* aRenderer = SVTK_Renderer::New(); + aRenderer->Initialize(aDevice,aSelector); + anIteractor->Initialize(aDevice,aRenderer,aSelector); aDevice->Delete(); -- 2.39.2