I am declaring : _earth_radius_node = fgGetNode("/position/sea-level-radius-ft", true);
props->tie("debug/earth-radius-ft", SGRawValuePointer<double>(&earth_rad_ft)); with earth_rad_ft = _earth_radius_node->getDoubleValue(); displays a correct value in the game: /position/sea-level-radius-ft = 20899773.07 (double) /ai/models/ridgelift/debug//earth-radius-ft = 20899773.07 (double) then, if I use : earth_rad_ft = _earth_radius_node->getDoubleValue(); I get a bunch of NaNs when making calculations with it (though it keeps displayed correctly in the properties in the game ) while if I use : earth_rad_ft=20899773.07; no problem. Am I missing something ? ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel