1
0
Fork 0

bug99 - Fix case where damping is enabled, but factor is 0.

This commit is contained in:
jmt 2010-04-01 11:57:02 +00:00 committed by Tim Moore
parent a33745e888
commit bc7c3ad4c6

View 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;
}