Export the gear compression to the property tree.
This commit is contained in:
parent
536e95b63d
commit
b9d1cad6f2
1 changed files with 1 additions and 0 deletions
|
@ -420,6 +420,7 @@ void YASim::copyFromYASim()
|
|||
SGPropertyNode * node = fgGetNode("gear/gear", i, true);
|
||||
node->setBoolValue("has-brake", g->getBrake() != 0);
|
||||
node->setBoolValue("wow", g->getCompressFraction() != 0);
|
||||
node->setFloatValue("compression-norm", g->getCompressFraction());
|
||||
}
|
||||
|
||||
for(i=0; i<model->numThrusters(); i++) {
|
||||
|
|
Loading…
Reference in a new issue