diff options
author | UbitUmarov | 2016-08-29 16:25:46 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-29 16:25:46 +0100 |
commit | 2b1b0134048d9e1f3d2789f0975869c3d93c81ac (patch) | |
tree | 4d7197eaea86f33066a972c0569f8893d94def66 /OpenSim/Region/PhysicsModules/ubOde | |
parent | ubOde mouse look steer with some MOUSELOOK_BANK action (diff) | |
download | opensim-SC-2b1b0134048d9e1f3d2789f0975869c3d93c81ac.zip opensim-SC-2b1b0134048d9e1f3d2789f0975869c3d93c81ac.tar.gz opensim-SC-2b1b0134048d9e1f3d2789f0975869c3d93c81ac.tar.bz2 opensim-SC-2b1b0134048d9e1f3d2789f0975869c3d93c81ac.tar.xz |
ubOde add a missing decimal dot :)
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs index 2b8e3ba..fa32441 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEDynamics.cs | |||
@@ -1054,9 +1054,9 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
1054 | float invamts = 1.0f/m_angularMotorTimescale; | 1054 | float invamts = 1.0f/m_angularMotorTimescale; |
1055 | float tmp; | 1055 | float tmp; |
1056 | 1056 | ||
1057 | // get out x == 0 plane | 1057 | // get out of x == 0 plane |
1058 | if(Math.Abs(dirv.X) < 0.001f) | 1058 | if(Math.Abs(dirv.X) < 0.001f) |
1059 | dirv.X = 0001f; | 1059 | dirv.X = 0.001f; |
1060 | 1060 | ||
1061 | if (Math.Abs(dirv.Z) > 0.01) | 1061 | if (Math.Abs(dirv.Z) > 0.01) |
1062 | { | 1062 | { |