From: ibs Date: Fri, 6 Mar 2015 15:52:30 +0000 (+0300) Subject: 0025906: Visualization, V3d_View::Rotation() - eliminate erroneous viewer redraw... X-Git-Tag: V6_9_0_beta~48 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=b12a3e54fca42f92b2d35f13880bce5e4de0f125;p=occt-copy.git 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 --- 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(); } //=============================================================================