From 3ceaa558771ff491d179596b8f675f63fb83dd16 Mon Sep 17 00:00:00 2001 From: vsv Date: Mon, 18 Oct 2010 07:35:47 +0000 Subject: [PATCH] *** empty log message *** --- src/OCCViewer/OCCViewer_ViewFrame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2