]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
*** empty log message ***
authorouv <ouv@opencascade.com>
Wed, 10 Aug 2005 12:31:12 +0000 (12:31 +0000)
committerouv <ouv@opencascade.com>
Wed, 10 Aug 2005 12:31:12 +0000 (12:31 +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);
     }
 }