From: vsv Date: Mon, 18 Oct 2010 07:35:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: TRIPOLI_302~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3ceaa558771ff491d179596b8f675f63fb83dd16;p=modules%2Fgui.git *** empty log message *** --- diff --git a/src/OCCViewer/OCCViewer_ViewFrame.h b/src/OCCViewer/OCCViewer_ViewFrame.h index 0bf841632..7607577dd 100644 --- a/src/OCCViewer/OCCViewer_ViewFrame.h +++ b/src/OCCViewer/OCCViewer_ViewFrame.h @@ -43,7 +43,7 @@ public: OCCViewer_ViewWindow* getView( const int ) const; - virtual OCCViewer_ViewPort3d* getViewPort() { return 0; } + virtual OCCViewer_ViewPort3d* getViewPort() { return getView(MAIN_VIEW)->getViewPort(); } OCCViewer_ViewPort3d* getViewPort(int theView); virtual void performRestoring( const viewAspect& theAspect) { getView(MAIN_VIEW)->performRestoring(theAspect); }