[Libreoffice-commits] core.git: svx/source

Markus Mohrhard markus.mohrhard at googlemail.com
Mon May 27 04:07:12 PDT 2013


 svx/source/engine3d/camera3d.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 17f21e6bcc5283c5485cc42344610e8125547c0f
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon May 27 13:00:40 2013 +0200

    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

diff --git a/svx/source/engine3d/camera3d.cxx b/svx/source/engine3d/camera3d.cxx
index 115e384..533b456 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();
 


More information about the Libreoffice-commits mailing list