1
0
Fork 0

Architectural fix allowing the "tip" popups (FOV, view name, etc...)

to pop themselves down while the simulator is paused.

The problem was with the "real time" queue in the event manager,
causing the third argument of Nasal's settimer() (a flag for "sim
time") to be ignored.  Inverts the default sense of the argument, as
there are lots of uses of settimer() in the current code, almost none
of which want to use real time.

Note this fix introduces a header file incompatibility in SimGear --
be sure to update.
This commit is contained in:
andy 2005-11-09 20:35:07 +00:00
parent a514647ace
commit 8a3d81fe0e

View file

@ -17,7 +17,9 @@ popupTip = func {
currTimer = currTimer + 1;
thisTimer = currTimer;
settimer(func { if(currTimer == thisTimer) { popdown() } }, DELAY);
# Final argument is a flag to use "real" time, not simulated time
settimer(func { if(currTimer == thisTimer) { popdown() } }, DELAY, 1);
}
showDialog = func {