aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-10-03 19:33:28 +0100
committerUbitUmarov2012-10-03 19:33:28 +0100
commit7137b234b4e99d8d19e83dfb5268674c72f46479 (patch)
tree7c9a899940be65e1fcda108af16207dcebf489ca /OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
parentAttempt to fix Mantis #6311. Honor a destination folder if one is given (diff)
downloadopensim-SC_OLD-7137b234b4e99d8d19e83dfb5268674c72f46479.zip
opensim-SC_OLD-7137b234b4e99d8d19e83dfb5268674c72f46479.tar.gz
opensim-SC_OLD-7137b234b4e99d8d19e83dfb5268674c72f46479.tar.bz2
opensim-SC_OLD-7137b234b4e99d8d19e83dfb5268674c72f46479.tar.xz
introduce a ODEMeshWorker class, should be pure cosmetic changes for now
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)