summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-27 13:00:40 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-05-27 13:03:53 +0200
commit17f21e6bcc5283c5485cc42344610e8125547c0f (patch)
tree37dcd14c27eeda788abcb1eb531d5adbcaaee863
parent174e32567f410e9049e9856629896ae6a798d752 (diff)
reintroduce removed line, fdo#62402
This line was removed with dd3e879cfdacbc8b9fff7556ae2d8698a22e9235 but is needed. Special thanks to Joren for bibisecting and bisecting. Change-Id: Id2b3de4098db75571006e6e62b77efe8c491b06f
-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();