> Hmmm - just notices you are setting wind-from-down-fps in your local
> weather. This is a bad idea as it is a computed value
>
> wind-from-down-fps =
>    thermal-lift-fps +
>    ridge-lift-fps +
>    local-weather-lift
>
> That's how it was hardcoded in the "old" weather system and what I
> forgot to migrate but has now been restored. This computation can not be
> disabled by intention. We should change compat_layer.nas from
>
> var setLift = func (lift) {
> if (features.can_disable_environment == 1)
>          {
>          setprop("/environment/wind-from-down-fps",lift);
>          }
> }
>
> to
>
> var setLift = func (lift) {
>          setprop("/environment/local-weather-lift",lift);
> }

Please change it on GIT and I'll change it for my next version - however
I'd suggest to name the property

/environment/local-weather-lift-fps

for consistency.

Cheers,

* Thorsten


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to