aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin
diff options
context:
space:
mode:
authorUbitUmarov2012-10-09 04:31:50 +0100
committerUbitUmarov2012-10-09 04:31:50 +0100
commit87175412882e8e4b7cd9d92d6a9be8546ec7e9e9 (patch)
treed857ccfd8dedc965033ee42b9678c4b175bcdd62 /OpenSim/Region/Physics/UbitOdePlugin
parenttemporary debug code (diff)
downloadopensim-SC_OLD-87175412882e8e4b7cd9d92d6a9be8546ec7e9e9.zip
opensim-SC_OLD-87175412882e8e4b7cd9d92d6a9be8546ec7e9e9.tar.gz
opensim-SC_OLD-87175412882e8e4b7cd9d92d6a9be8546ec7e9e9.tar.bz2
opensim-SC_OLD-87175412882e8e4b7cd9d92d6a9be8546ec7e9e9.tar.xz
force allocation of mesh data on creation ( messy code version )
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODEMeshWorker.cs2
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs1
2 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEMeshWorker.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEMeshWorker.cs
index 024835c..24f76d62 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODEMeshWorker.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEMeshWorker.cs
@@ -518,7 +518,7 @@ namespace OpenSim.Region.Physics.OdePlugin
518 } 518 }
519 } 519 }
520 520
521 mesh = m_mesher.CreateMesh(actor.Name, pbs, size, clod, true, convex); 521 mesh = m_mesher.CreateMesh(actor.Name, pbs, size, clod, true, convex,true);
522 } 522 }
523 523
524 repData.mesh = mesh; 524 repData.mesh = mesh;
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
index fc59180..d993f22 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODEPrim.cs
@@ -1384,7 +1384,6 @@ namespace OpenSim.Region.Physics.OdePlugin
1384 IntPtr vertices, indices; 1384 IntPtr vertices, indices;
1385 int vertexCount, indexCount; 1385 int vertexCount, indexCount;
1386 int vertexStride, triStride; 1386 int vertexStride, triStride;
1387
1388 1387
1389 IMesh mesh = m_mesh; 1388 IMesh mesh = m_mesh;
1390 1389