]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
*** empty log message ***
authorvsv <vsv@opencascade.com>
Mon, 18 Oct 2010 07:35:47 +0000 (07:35 +0000)
committervsv <vsv@opencascade.com>
Mon, 18 Oct 2010 07:35:47 +0000 (07:35 +0000)
src/OCCViewer/OCCViewer_ViewFrame.h

index 0bf841632332b04d0d5131e2c58ac0f55a6775c3..7607577ddd765a05773291f17851e3ceba7dc1ea 100644 (file)
@@ -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); }