diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/Ode/OdeScene.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/OdeScene.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs index 8fe3130..144d762 100644 --- a/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs +++ b/OpenSim/Region/PhysicsModules/Ode/OdeScene.cs | |||
@@ -3939,8 +3939,8 @@ namespace OpenSim.Region.PhysicsModule.ODE | |||
3939 | 3939 | ||
3940 | } | 3940 | } |
3941 | IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); | 3941 | IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); |
3942 | d.GeomHeightfieldDataBuildSingle(HeightmapData, _heightmap, 0, heightmapWidth, heightmapHeight, | 3942 | d.GeomHeightfieldDataBuildSingle(HeightmapData, _heightmap, 0, heightmapHeight, heightmapWidth, |
3943 | (int)heightmapWidthSamples, (int)heightmapHeightSamples, scale, | 3943 | (int)heightmapHeightSamples, (int)heightmapWidthSamples, scale, |
3944 | offset, thickness, wrap); | 3944 | offset, thickness, wrap); |
3945 | 3945 | ||
3946 | d.GeomHeightfieldDataSetBounds(HeightmapData, hfmin - 1, hfmax + 1); | 3946 | d.GeomHeightfieldDataSetBounds(HeightmapData, hfmin - 1, hfmax + 1); |