From: apo Date: Tue, 18 Oct 2005 15:31:05 +0000 (+0000) Subject: Patch on Bug GVIEW10227 X-Git-Tag: TG-D5-38-2003_D2005-29-12~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cb3514bcbd864721f031eb302f84b68fcfe79850;p=modules%2Fgui.git Patch on Bug GVIEW10227 Highlighted group of elements remains in 3D viewer. --- 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();