From 7a6f9977056c5448df7fc7da920732f02d2a6dd6 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 29 Jan 2010 12:51:03 +0000 Subject: [PATCH] Additional integration for TRIPOLI: make rotation methods virtual --- src/OCCViewer/OCCViewer_ViewPort3d.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OCCViewer/OCCViewer_ViewPort3d.h b/src/OCCViewer/OCCViewer_ViewPort3d.h index 7cb9fb20c..4092b4c1f 100755 --- a/src/OCCViewer/OCCViewer_ViewPort3d.h +++ b/src/OCCViewer/OCCViewer_ViewPort3d.h @@ -71,9 +71,9 @@ public: virtual void zoom( int, int, int, int ); virtual void fitAll( bool keepScale = false, bool withZ = true, bool upd = true ); - void startRotation( int, int, int, const gp_Pnt& ); - void rotate( int, int, int, const gp_Pnt& ); - void endRotation(); + virtual void startRotation( int, int, int, const gp_Pnt& ); + virtual void rotate( int, int, int, const gp_Pnt& ); + virtual void endRotation(); bool isBusy() {return myBusy;} // check that View Port is fully initialized protected: -- 2.39.2