diff options
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-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"; |