diff options
author | ubit | 2012-10-20 18:55:44 +0200 |
---|---|---|
committer | ubit | 2012-10-20 18:55:44 +0200 |
commit | 3212bcff59b355073bc179241d3d65096e9056ce (patch) | |
tree | 6312424b03922ee07e7f5770fef77d60630adf63 /OpenSim/Region | |
parent | Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff) | |
parent | bug fix (diff) | |
download | opensim-SC-3212bcff59b355073bc179241d3d65096e9056ce.zip opensim-SC-3212bcff59b355073bc179241d3d65096e9056ce.tar.gz opensim-SC-3212bcff59b355073bc179241d3d65096e9056ce.tar.bz2 opensim-SC-3212bcff59b355073bc179241d3d65096e9056ce.tar.xz |
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index ce67cc4..76e42d4 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | |||
@@ -1108,6 +1108,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1108 | ODEPhysRepData repData = _parent_scene.m_meshWorker.NewActorPhysRep(this, _pbs, _size, m_shapetype); | 1108 | ODEPhysRepData repData = _parent_scene.m_meshWorker.NewActorPhysRep(this, _pbs, _size, m_shapetype); |
1109 | 1109 | ||
1110 | primVolume = repData.volume; | 1110 | primVolume = repData.volume; |
1111 | m_OBB = repData.OBB; | ||
1112 | m_OBBOffset = repData.OBBOffset; | ||
1111 | 1113 | ||
1112 | UpdatePrimBodyData(); | 1114 | UpdatePrimBodyData(); |
1113 | } | 1115 | } |
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs index b98f177..cce8946 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |||
@@ -2344,7 +2344,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
2344 | } | 2344 | } |
2345 | } | 2345 | } |
2346 | } | 2346 | } |
2347 | IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); | 2347 | IntPtr HeightmapData = d.GeomUbitTerrainDataCreate(); |
2348 | 2348 | ||
2349 | const int wrap = 0; | 2349 | const int wrap = 0; |
2350 | float thickness = hfmin; | 2350 | float thickness = hfmin; |