From 4fce7d22ce80a2447b4c2cb4cd98c473a2d2368c Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 2 Aug 2005 07:50:01 +0000 Subject: [PATCH] Adjust to SVTK changes --- src/VISUGUI/VisuGUI_NonIsometricDlg.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/VISUGUI/VisuGUI_NonIsometricDlg.cxx b/src/VISUGUI/VisuGUI_NonIsometricDlg.cxx index 08cbfbf9..beca47aa 100644 --- a/src/VISUGUI/VisuGUI_NonIsometricDlg.cxx +++ b/src/VISUGUI/VisuGUI_NonIsometricDlg.cxx @@ -170,11 +170,10 @@ void VisuGUI_NonIsometricDlg::onClickApply() SALOME_ListIO selected; mgr->selectedObjects(selected); SALOME_ListIteratorOfListIO Itinit(selected); - SVTK_RenderWindowInteractor* rw = dynamic_cast(vf->getRWInteractor()); - if (rw) + if (vf) for (; Itinit.More(); Itinit.Next()) { - rw->highlight(Itinit.Value(), true); + vf->highlight(Itinit.Value(), true); } } -- 2.39.2