From ff7b82885fbf924d16f5acb4066a12b63e0c898b Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 24 Mar 2016 12:26:16 +0000 Subject: [PATCH] Fix for view look-at orientation bugs. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Viewer/view.cxx b/src/Viewer/view.cxx index dbdc11f2c..7cb3a1f6b 100644 --- a/src/Viewer/view.cxx +++ b/src/Viewer/view.cxx @@ -850,6 +850,7 @@ void View::update (double dt) { updateData(); + recalc(); updateDampOutput(dt); int i; -- 2.39.5