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:
parent
92c934f410
commit
af538746ac
1 changed files with 0 additions and 5 deletions
|
@ -254,11 +254,6 @@ FGViewMgr::setView (int newview)
|
||||||
if (get_current_view()) {
|
if (get_current_view()) {
|
||||||
get_current_view()->bind();
|
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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue