0025906: Visualization, V3d_View::Rotation() - eliminate erroneous viewer redraw...
authoribs <ibs@opencascade.com>
Fri, 6 Mar 2015 15:52:30 +0000 (18:52 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 12 Mar 2015 09:48:48 +0000 (12:48 +0300)
the superfluous view update of Rotation method removed because of used before Rotate method already does immediate update

src/V3d/V3d_View.cxx

index d4094a9..74a5319 100644 (file)
@@ -2728,8 +2728,8 @@ void V3d_View::Rotation(const Standard_Integer X,
     dx = (Standard_Real(X) - sx) * M_PI / rx;
     dy = (sy - Standard_Real(Y)) * M_PI / ry;
   }
+
   Rotate(dx, dy, dz, gx, gy, gz, Standard_False);
-  if( !myImmediateUpdate ) Update();
 }
 
 //=============================================================================