aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index c01626a..eafce5a 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -683,6 +683,8 @@ namespace OpenSim.Region.Physics.OdePlugin
683 float[] vertexList = primMesh.getVertexListAsFloatLocked(); // Note, that vertextList is pinned in memory 683 float[] vertexList = primMesh.getVertexListAsFloatLocked(); // Note, that vertextList is pinned in memory
684 int[] indexList = primMesh.getIndexListAsIntLocked(); // Also pinned, needs release after usage 684 int[] indexList = primMesh.getIndexListAsIntLocked(); // Also pinned, needs release after usage
685 685
686 primMesh.releaseSourceMeshData(); // free up the original mesh data to save memory
687
686 int VertexCount = vertexList.GetLength(0)/3; 688 int VertexCount = vertexList.GetLength(0)/3;
687 int IndexCount = indexList.GetLength(0); 689 int IndexCount = indexList.GetLength(0);
688 690