You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bombable has only two places where geodinfo() is called, most calls happen through the elev() wrapper.
The advanced weather system uses the dedicated terrain presampler available since 2.6, which is built on top of the property tree and which can be used to directly sample a whole area, without the Nasal-space overhead:
http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg35525.html
"The property /environment/terrain/area[0]/enabled is set to a boolean
value of false on startup. This ensures the sampler is instantiated but
not running. You should set it to true when you enable local weather and
reset it to false when you disable local weather. Also, make sure to set
/environment/terrain/area[0]/input/use-aircraft-position to true if want
to sample the area around the aircraft's position.
So, No: the --prop switch will no longer be needed at startup, the
sampler is there but disabled, you can assume the system will be available."
The local weather system uses a separate compat_layer.nas module to handle the differences among different FG versions, so that there is a consistent backend for the remaining code, differences among FG versions are abstracted away using a single place, all of the remaining code uses an "ideal API", without having to know which method is used:
Activity