diff options
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs index 3291b79..2046ff9 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs | |||
@@ -1510,7 +1510,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1510 | // If the PID Controller isn't active then we set our force | 1510 | // If the PID Controller isn't active then we set our force |
1511 | // calculating base velocity to the current position | 1511 | // calculating base velocity to the current position |
1512 | 1512 | ||
1513 | if ((m_PIDTau < 1)) | 1513 | if ((m_PIDTau < 1) && (m_PIDTau != 0)) |
1514 | { | 1514 | { |
1515 | //PID_G = PID_G / m_PIDTau; | 1515 | //PID_G = PID_G / m_PIDTau; |
1516 | m_PIDTau = 1; | 1516 | m_PIDTau = 1; |