[JSBSim] Exports the fuel density to the property tree.
This commit is contained in:
parent
6de242f184
commit
9c7243e1c4
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue