summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/engine3d/camera3d.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/engine3d/camera3d.cxx b/svx/source/engine3d/camera3d.cxx
index 115e38437187..533b456de315 100644
--- a/svx/source/engine3d/camera3d.cxx
+++ b/svx/source/engine3d/camera3d.cxx
@@ -117,6 +117,8 @@ void Camera3D::SetBankAngle(double fAngle)
}
// Calculate from aDiff to uppwards pointing View-Up-Vector
+ // duplicated line is intentional!
+ aPrj = aPrj.getPerpendicular(aDiff);
aPrj = aPrj.getPerpendicular(aDiff);
aDiff.normalize();