]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/viewer.cxx
New autopilot subsystem implementation.
[flightgear.git] / src / Main / viewer.cxx
index a2baa48c4aeb8262e7910fc2d53a99be4ca1005e..ffa05fc3f3499b4160771df8af9b43eb1759ee81 100644 (file)
@@ -501,6 +501,8 @@ FGViewer::updateDampOutput(double dt)
     
     for (unsigned int i=0; i<3; ++i) {
       if (_dampFactor[i] <= 0.0) {
+        // axis is un-damped, set output to target directly
+        _dampOutput[i] = _dampTarget[i];
         continue;
       }