diff options
author | dan miller | 2007-10-17 05:43:35 +0000 |
---|---|---|
committer | dan miller | 2007-10-17 05:43:35 +0000 |
commit | 7415eb73550089c3d5652b90fd0a710021141a5a (patch) | |
tree | 250d8015f03fb64d11c1c0cbb6271026d0527170 /OpenSim | |
parent | couple of small event changes (diff) | |
download | opensim-SC-7415eb73550089c3d5652b90fd0a710021141a5a.zip opensim-SC-7415eb73550089c3d5652b90fd0a710021141a5a.tar.gz opensim-SC-7415eb73550089c3d5652b90fd0a710021141a5a.tar.bz2 opensim-SC-7415eb73550089c3d5652b90fd0a710021141a5a.tar.xz |
this might help with ODE errors. Or maybe not. YMMV
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index e0661f8..c707a87 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | |||
@@ -409,7 +409,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
409 | d.SpaceRemove(space, LandGeom); | 409 | d.SpaceRemove(space, LandGeom); |
410 | } | 410 | } |
411 | IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); | 411 | IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); |
412 | d.GeomHeightfieldDataBuildDouble(HeightmapData, _heightmap, 0, 256, 256, 256, 256, 1.0f, 0.0f, 2.0f, 0); | 412 | d.GeomHeightfieldDataBuildDouble(HeightmapData, _heightmap, 0, 256, 256, 256, 256, 1.0f, 0.0f, 2.0f, 1); |
413 | d.GeomHeightfieldDataSetBounds(HeightmapData, 256, 256); | 413 | d.GeomHeightfieldDataSetBounds(HeightmapData, 256, 256); |
414 | LandGeom = d.CreateHeightfield(space, HeightmapData, 1); | 414 | LandGeom = d.CreateHeightfield(space, HeightmapData, 1); |
415 | this.geom_name_map[LandGeom]="Terrain"; | 415 | this.geom_name_map[LandGeom]="Terrain"; |