Patrice Poly a écrit :
> the fix, as a patch
>
> http://www.bentha.net/fgfs/ridge-lift/Environment.diff.bz2
>
> hope this works...
>
>   
nope, same behaviour!!

i think that on my "slow" PC, your ridge lift is sometimes initialised a 
little to early (while position is 0,0,0 maybe), resulting in some nan 
in the result of terrain scan, wich lead to a "nan" in 
/environment/ridge-lift-fps.

and as it's used to compute the next aircraft position, nan go all along 
the calculs...

i tested :
_ridge_lift_fps_node->setDoubleValue( 0 );

and no more nan, all the properties in ridge-lift are now valid.

jano



------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to