From: apo Date: Tue, 15 Nov 2005 08:29:32 +0000 (+0000) Subject: To apply offset functionality for all SVTK_ViewWindow descendants X-Git-Tag: BR-D5-38-2003_D2005-24-11~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a62e15999a3dee4879a103696bb041d36a825052;p=modules%2Fvisu.git To apply offset functionality for all SVTK_ViewWindow descendants --- diff --git a/src/VISUGUI/VisuGUI_OffsetDlg.cxx b/src/VISUGUI/VisuGUI_OffsetDlg.cxx index bb078813..7465cee5 100644 --- a/src/VISUGUI/VisuGUI_OffsetDlg.cxx +++ b/src/VISUGUI/VisuGUI_OffsetDlg.cxx @@ -156,7 +156,7 @@ void VisuGUI_OffsetDlg::updateOffset (VISU::Prs3d_i* thePrs, float* theOffset) ViewManagerList aViewManagerList; SalomeApp_Application* anApp = myModule->getApp(); - anApp->viewManagers(SVTK_Viewer::Type(), aViewManagerList); + anApp->viewManagers(aViewManagerList); QPtrListIterator anVMIter (aViewManagerList); for (; anVMIter.current(); ++anVMIter) { SUIT_ViewManager* aViewManager = anVMIter.current();