diff options
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs index f2f4725..545bd27 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs | |||
@@ -1080,7 +1080,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1080 | bounce = parent_scene.m_materialContactsData[(int)Material.Wood].bounce; | 1080 | bounce = parent_scene.m_materialContactsData[(int)Material.Wood].bounce; |
1081 | 1081 | ||
1082 | CalcPrimBodyData(); | 1082 | CalcPrimBodyData(); |
1083 | 1083 | /* | |
1084 | m_mesh = null; | 1084 | m_mesh = null; |
1085 | if (_parent_scene.needsMeshing(pbs) && (pbs.SculptData.Length > 0)) | 1085 | if (_parent_scene.needsMeshing(pbs) && (pbs.SculptData.Length > 0)) |
1086 | { | 1086 | { |
@@ -1096,6 +1096,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1096 | } | 1096 | } |
1097 | m_mesh = _parent_scene.mesher.CreateMesh(Name, _pbs, _size, clod, true, convex); | 1097 | m_mesh = _parent_scene.mesher.CreateMesh(Name, _pbs, _size, clod, true, convex); |
1098 | } | 1098 | } |
1099 | */ | ||
1100 | m_mesh = _parent_scene.m_meshWorker.getMesh(this, pbs, _size, m_shapetype); | ||
1099 | 1101 | ||
1100 | m_building = true; // control must set this to false when done | 1102 | m_building = true; // control must set this to false when done |
1101 | 1103 | ||
@@ -1476,7 +1478,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
1476 | hasOOBoffsetFromMesh = false; | 1478 | hasOOBoffsetFromMesh = false; |
1477 | m_NoColide = false; | 1479 | m_NoColide = false; |
1478 | 1480 | ||
1479 | if (_parent_scene.needsMeshing(_pbs)) | 1481 | if (_parent_scene.m_meshWorker.needsMeshing(_pbs)) |
1480 | { | 1482 | { |
1481 | haveMesh = setMesh(_parent_scene); // this will give a mesh to non trivial known prims | 1483 | haveMesh = setMesh(_parent_scene); // this will give a mesh to non trivial known prims |
1482 | if (!haveMesh) | 1484 | if (!haveMesh) |