]> git.mxchange.org Git - flightgear.git/commitdiff
Export the gear compression to the property tree.
authorandy <andy>
Mon, 4 Mar 2002 07:57:43 +0000 (07:57 +0000)
committerandy <andy>
Mon, 4 Mar 2002 07:57:43 +0000 (07:57 +0000)
src/FDM/YASim/YASim.cxx

index e374329338819c6959bcd7421363de6f49f5bf8d..95e294640510bc9ec3989f843c75858d0b85b8e1 100644 (file)
@@ -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++) {