]> git.mxchange.org Git - flightgear.git/commit
Avoid excessive load when no navaids are in range
authorThorstenB <brehmt@gmail.com>
Wed, 24 Aug 2011 21:17:05 +0000 (23:17 +0200)
committerThorstenB <brehmt@gmail.com>
Wed, 24 Aug 2011 21:17:05 +0000 (23:17 +0200)
commitcc020fe9df98e7218b34dd970a92d432ef733343
tree3ba3dc46365bff4c7178d9d3970abacc5632d874
parent557c95a5ec8fd2cb1764f5caa9cb574217dbd5ec
Avoid excessive load when no navaids are in range
When no navaid is found, '_ref_navaid_id_node->setStringValue("")' results
in a listener firing, which requests another navaid update when no navaid
is available.
=> Resulted in FGPositioned::findClosest being called in every update loop,
when no navaid was within range.
src/Instrumentation/gps.cxx