#include "VISU_PipeLine.hxx"
#include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
#include "SVTK_ViewWindow.h"
#include "SVTK_RenderWindowInteractor.h"
{
SalomeApp_Application* anApp = dynamic_cast<SalomeApp_Application*>
(SUIT_Session::session()->activeApplication());
- SalomeApp_SelectionMgr* mgr = anApp->selectionMgr();
+ LightApp_SelectionMgr* mgr = anApp->selectionMgr();
SVTK_ViewWindow* vf = VISU::GetViewWindow();
if (!vf)
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);
}
}