aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/Ode
diff options
context:
space:
mode:
authorUbitUmarov2015-09-23 03:31:23 +0100
committerUbitUmarov2015-09-23 03:31:23 +0100
commit9e183cbd3003b1e16cc1d543a44e0d23c7ad1f7b (patch)
treebf1b24af199f03b5e4496164a72983b42964efe4 /OpenSim/Region/PhysicsModules/Ode
parent same for old Ode (diff)
downloadopensim-SC_OLD-9e183cbd3003b1e16cc1d543a44e0d23c7ad1f7b.zip
opensim-SC_OLD-9e183cbd3003b1e16cc1d543a44e0d23c7ad1f7b.tar.gz
opensim-SC_OLD-9e183cbd3003b1e16cc1d543a44e0d23c7ad1f7b.tar.bz2
opensim-SC_OLD-9e183cbd3003b1e16cc1d543a44e0d23c7ad1f7b.tar.xz
fix for future non square regions
Diffstat (limited to 'OpenSim/Region/PhysicsModules/Ode')
-rw-r--r--OpenSim/Region/PhysicsModules/Ode/OdeScene.cs4
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);