On Sat, 2011-06-04 at 15:03 +0200, Torsten Dreyer wrote:
> prop->tie("/environment/relative-humidity",SGRawValuePointer<float>(&_humidity));
> 
> is probably not a good idea since the FGEnvironment ties to this property, 
> too (and it's
> the system that "owns" aka calculates this property.
> 
> You should use getNode() and getDoubleValue() instead.

You're probably right, I didn't think of that. This part is reverted
now. Thanks.

Erik


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to