aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
diff options
context:
space:
mode:
authorubit2012-10-03 20:35:29 +0200
committerubit2012-10-03 20:35:29 +0200
commit149c2adf7d5af58079bacb56d500e3db1cf614c4 (patch)
tree4a2a4ed9e0f09fbc8a51ac6c1aa6bfbc064d872e /OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parent introduce a ODEMeshWorker class, should be pure cosmetic changes for now (diff)
downloadopensim-SC-149c2adf7d5af58079bacb56d500e3db1cf614c4.zip
opensim-SC-149c2adf7d5af58079bacb56d500e3db1cf614c4.tar.gz
opensim-SC-149c2adf7d5af58079bacb56d500e3db1cf614c4.tar.bz2
opensim-SC-149c2adf7d5af58079bacb56d500e3db1cf614c4.tar.xz
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.cs6
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)