From: apo Date: Tue, 2 Aug 2005 07:50:01 +0000 (+0000) Subject: Adjust to SVTK changes X-Git-Tag: BR-D5-38-2003_D2005-12-09~140 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4fce7d22ce80a2447b4c2cb4cd98c473a2d2368c;p=modules%2Fvisu.git Adjust to SVTK changes --- 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); } }