projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
18ee293
)
0025906: Visualization, V3d_View::Rotation() - eliminate erroneous viewer redraw...
author
ibs
<ibs@opencascade.com>
Fri, 6 Mar 2015 15:52:30 +0000 (18:52 +0300)
committer
bugmaster
<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
patch
|
blob
|
blame
|
history
diff --git
a/src/V3d/V3d_View.cxx
b/src/V3d/V3d_View.cxx
index
d4094a9
..
74a5319
100644
(file)
--- 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();
}
//=============================================================================