1
0
Fork 0

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).
This commit is contained in:
Julian Smith 2019-08-01 23:40:06 +01:00
parent 92c934f410
commit af538746ac

View file

@ -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);
}