diff options
author | UbitUmarov | 2015-09-23 01:50:59 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-23 01:50:59 +0100 |
commit | 5f5dbfc2646b63463aa98febe8e6b1788247b8a4 (patch) | |
tree | fd7051ea197c0f7056f62fb92fa99910706fb8a0 /OpenSim | |
parent | remove a odd floating offset on physical prims/terrain collisions (diff) | |
download | opensim-SC-5f5dbfc2646b63463aa98febe8e6b1788247b8a4.zip opensim-SC-5f5dbfc2646b63463aa98febe8e6b1788247b8a4.tar.gz opensim-SC-5f5dbfc2646b63463aa98febe8e6b1788247b8a4.tar.bz2 opensim-SC-5f5dbfc2646b63463aa98febe8e6b1788247b8a4.tar.xz |
same for old Ode
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/OdeScene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs index eb5e602..8fe3130 100644 --- a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs +++ b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs | |||
@@ -3965,7 +3965,7 @@ namespace OpenSim.Region.PhysicsModule.ODE | |||
3965 | 3965 | ||
3966 | d.RFromAxisAndAngle(out R, v3.X, v3.Y, v3.Z, angle); | 3966 | d.RFromAxisAndAngle(out R, v3.X, v3.Y, v3.Z, angle); |
3967 | d.GeomSetRotation(GroundGeom, ref R); | 3967 | d.GeomSetRotation(GroundGeom, ref R); |
3968 | d.GeomSetPosition(GroundGeom, pOffset.X + regionsizeX * 0.5f, pOffset.Y + regionsizeY * 0.5f, 0); | 3968 | d.GeomSetPosition(GroundGeom, pOffset.X + regionsizeX * 0.5f, pOffset.Y + regionsizeY * 0.5f, 0.0f); |
3969 | IntPtr testGround = IntPtr.Zero; | 3969 | IntPtr testGround = IntPtr.Zero; |
3970 | if (RegionTerrain.TryGetValue(pOffset, out testGround)) | 3970 | if (RegionTerrain.TryGetValue(pOffset, out testGround)) |
3971 | { | 3971 | { |