From b12a3e54fca42f92b2d35f13880bce5e4de0f125 Mon Sep 17 00:00:00 2001 From: ibs Date: Fri, 6 Mar 2015 18:52:30 +0300 Subject: [PATCH] 0025906: Visualization, V3d_View::Rotation() - eliminate erroneous viewer redraw within disabled immediate update the superfluous view update of Rotation method removed because of used before Rotate method already does immediate update --- src/V3d/V3d_View.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3d/V3d_View.cxx b/src/V3d/V3d_View.cxx index d4094a91bc..74a5319f69 100644 --- a/src/V3d/V3d_View.cxx +++ b/src/V3d/V3d_View.cxx @@ -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(); } //============================================================================= -- 2.20.1