]> git.mxchange.org Git - flightgear.git/commit
Bugfix: set temp and dewpoint from the gui
authorTorsten Dreyer <Torsten@t3r.de>
Tue, 20 Jul 2010 20:56:15 +0000 (22:56 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Tue, 20 Jul 2010 20:56:15 +0000 (22:56 +0200)
commitda02c09ec08cc357926ce6f06b3c6fc5925986d8
treec33fe9ab11693d9afe70ab643f7d7fe43cb8e2a0
parent8a1223ab27ba1a27a1f02b3e81b85b2e2a8dee07
Bugfix: set temp and dewpoint from the gui

This fix (re)enables the setting of temperature and
dewpoint from the weather-conditions dialog and other
sources for various altitude layers. These temperatures
are reduced to the corresponding sea level temperatures
according to ICAO standard atmosphere which is the inverse
function of the calculation of temperature at altitude based
on sea-level-temperature.
Note: this only works for the troposphere.
src/Environment/environment.cxx
src/Environment/environment_ctrl.cxx
src/Environment/environment_ctrl.hxx