From: andy Date: Mon, 4 Mar 2002 07:57:43 +0000 (+0000) Subject: Export the gear compression to the property tree. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b9d1cad6f2b90792b4e0972942557626aa180ce2;p=flightgear.git Export the gear compression to the property tree. --- diff --git a/src/FDM/YASim/YASim.cxx b/src/FDM/YASim/YASim.cxx index e37432933..95e294640 100644 --- a/src/FDM/YASim/YASim.cxx +++ b/src/FDM/YASim/YASim.cxx @@ -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; inumThrusters(); i++) {