From 1302c167dd1a9dbc35c7daa77600bb77384271b5 Mon Sep 17 00:00:00 2001 From: Henning Stahlke Date: Tue, 18 Apr 2017 22:11:34 +0200 Subject: [PATCH] YASim: rename some exported props. --- src/FDM/YASim/Airplane.cpp | 4 ++-- src/FDM/YASim/Surface.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FDM/YASim/Airplane.cpp b/src/FDM/YASim/Airplane.cpp index ace15c92a..57c0d4fa9 100644 --- a/src/FDM/YASim/Airplane.cpp +++ b/src/FDM/YASim/Airplane.cpp @@ -599,8 +599,8 @@ void Airplane::compile() _cgDesiredAft = _wing->getMACx() - _wing->getMAC()*_cgDesiredMax; if (baseN != 0) { SGPropertyNode_ptr n = fgGetNode("/fdm/yasim/model", true); - n->getNode("cg-range-front", true)->setFloatValue(_cgDesiredFront); - n->getNode("cg-range-aft", true)->setFloatValue(_cgDesiredAft); + n->getNode("cg-x-range-front", true)->setFloatValue(_cgDesiredFront); + n->getNode("cg-x-range-aft", true)->setFloatValue(_cgDesiredAft); } } if (_tail) diff --git a/src/FDM/YASim/Surface.cpp b/src/FDM/YASim/Surface.cpp index 0b844d1f7..475c9ec90 100644 --- a/src/FDM/YASim/Surface.cpp +++ b/src/FDM/YASim/Surface.cpp @@ -36,7 +36,7 @@ Surface::Surface( Version * version ) : _inducedDrag = 1; _stallAlpha = 0; _alpha = 0; - _surfN = fgGetNode("/fdm/yasim/surfaces", true); + _surfN = fgGetNode("/fdm/yasim/debug/surfaces", true); if (_surfN != 0) { _surfN = _surfN->getChild("surface", _id, true); _fxN = _surfN->getNode("f-x", true);