1
0
Fork 0

[JSBSim] Exports the fuel density to the property tree.

This commit is contained in:
Bertrand Coconnier 2019-01-12 15:40:09 +01:00
parent 6de242f184
commit 9c7243e1c4

View file

@ -461,6 +461,8 @@ void FGTank::bind(FGPropertyManager* PropertyManager)
&FGTank::SetUnusableVolume );
property_name = base_property_name + "/pct-full";
PropertyManager->Tie( property_name.c_str(), (FGTank*)this, &FGTank::GetPctFull);
property_name = base_property_name + "/density-lbs_per_gal";
PropertyManager->Tie( property_name.c_str(), (FGTank*)this, &FGTank::GetDensity);
property_name = base_property_name + "/priority";
PropertyManager->Tie( property_name.c_str(), (FGTank*)this, &FGTank::GetPriority,