move event_mgr and view_mgr bundle right before the requestRedraw()
This fixes the last jitter problems with views attached to MP/AI objects, and doesn't seem to cause any new ones.
This commit is contained in:
parent
0ad534b55d
commit
271487328a
1 changed files with 6 additions and 5 deletions
|
@ -489,11 +489,6 @@ static void fgMainLoop( void ) {
|
||||||
"Elapsed time is zero ... we're zinging" );
|
"Elapsed time is zero ... we're zinging" );
|
||||||
}
|
}
|
||||||
|
|
||||||
globals->get_event_mgr()->update(delta_time_sec);
|
|
||||||
|
|
||||||
// update the view angle
|
|
||||||
globals->get_viewmgr()->update(delta_time_sec);
|
|
||||||
|
|
||||||
// Do any I/O channel work that might need to be done
|
// Do any I/O channel work that might need to be done
|
||||||
globals->get_io()->update( real_delta_time_sec );
|
globals->get_io()->update( real_delta_time_sec );
|
||||||
|
|
||||||
|
@ -665,6 +660,12 @@ static void fgMainLoop( void ) {
|
||||||
globals->get_soundmgr()->set_volume(init_volume);
|
globals->get_soundmgr()->set_volume(init_volume);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// run Nasal's settimer() loops right before the view manager
|
||||||
|
globals->get_event_mgr()->update(delta_time_sec);
|
||||||
|
|
||||||
|
// update the view angle
|
||||||
|
globals->get_viewmgr()->update(delta_time_sec);
|
||||||
|
|
||||||
fgRequestRedraw();
|
fgRequestRedraw();
|
||||||
|
|
||||||
SG_LOG( SG_ALL, SG_DEBUG, "" );
|
SG_LOG( SG_ALL, SG_DEBUG, "" );
|
||||||
|
|
Loading…
Add table
Reference in a new issue