From af538746ac35694abc255ca690b127fdb18794f1 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Thu, 1 Aug 2019 23:40:06 +0100 Subject: [PATCH] src/Viewer/viewmgr.cxx:FGViewMgr::setView(): don't call update(0). This fixes transient view corruption when view is changed (e.g. by v or V). --- src/Viewer/viewmgr.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Viewer/viewmgr.cxx b/src/Viewer/viewmgr.cxx index e91a5aba1..d41a21274 100644 --- a/src/Viewer/viewmgr.cxx +++ b/src/Viewer/viewmgr.cxx @@ -254,11 +254,6 @@ FGViewMgr::setView (int newview) if (get_current_view()) { get_current_view()->bind(); } - - // force an update now, to avoid returning bogus data. - // real fix would to be make all the accessors use the dirty mechanism - // on FGViewer, so update() is a no-op. - update(0.0); }