]> git.mxchange.org Git - flightgear.git/commitdiff
Fix for view look-at orientation bugs.
authorJames Turner <zakalawe@mac.com>
Thu, 24 Mar 2016 12:26:16 +0000 (12:26 +0000)
committerJames Turner <zakalawe@mac.com>
Thu, 24 Mar 2016 12:26:16 +0000 (12:26 +0000)
Force a manual re-calc of view parameters inside update. Will refactor
this in the future since shouldn’t really be necessary.

Ticket: https://sourceforge.net/p/flightgear/codetickets/1855/

src/Viewer/view.cxx

index dbdc11f2cea3990ce92c44dfced47f1e6e40edf1..7cb3a1f6b42877b8b4a044dfea6a87ec670bced5 100644 (file)
@@ -850,6 +850,7 @@ void
 View::update (double dt)
 {
     updateData();
+    recalc();
   updateDampOutput(dt);
 
   int i;