]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Adjust to SVTK changes
authorapo <apo@opencascade.com>
Tue, 2 Aug 2005 07:50:01 +0000 (07:50 +0000)
committerapo <apo@opencascade.com>
Tue, 2 Aug 2005 07:50:01 +0000 (07:50 +0000)
src/VISUGUI/VisuGUI_NonIsometricDlg.cxx

index 08cbfbf91018bb32dd31df5eb4eabbc4a67d0ace..beca47aa231b2b3a181733ecba45988610a2cf1a 100644 (file)
@@ -170,11 +170,10 @@ void VisuGUI_NonIsometricDlg::onClickApply()
   SALOME_ListIO selected;
   mgr->selectedObjects(selected);
   SALOME_ListIteratorOfListIO Itinit(selected);
-  SVTK_RenderWindowInteractor* rw = dynamic_cast<SVTK_RenderWindowInteractor*>(vf->getRWInteractor());
 
-  if (rw)
+  if (vf)
     for (; Itinit.More(); Itinit.Next()) {
-      rw->highlight(Itinit.Value(), true);
+      vf->highlight(Itinit.Value(), true);
     }
 }