aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin
diff options
context:
space:
mode:
authorJeff Ames2009-10-19 08:58:03 +0900
committerJeff Ames2009-10-19 08:58:03 +0900
commit0d29614ca129a044f6fad01f5600c52a922b702c (patch)
tree2bb8093bb168a0aa9deffc33af4b66f5ce2d31bf /OpenSim/Region/Physics/OdePlugin
parentAdd support for display of the script compilation errors in the script editor's (diff)
downloadopensim-SC_OLD-0d29614ca129a044f6fad01f5600c52a922b702c.zip
opensim-SC_OLD-0d29614ca129a044f6fad01f5600c52a922b702c.tar.gz
opensim-SC_OLD-0d29614ca129a044f6fad01f5600c52a922b702c.tar.bz2
opensim-SC_OLD-0d29614ca129a044f6fad01f5600c52a922b702c.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs4
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index 496e097..63bfc90 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -816,8 +816,8 @@ namespace OpenSim.Region.Physics.OdePlugin
816 IntPtr vertices, indices; 816 IntPtr vertices, indices;
817 int vertexCount, indexCount; 817 int vertexCount, indexCount;
818 int vertexStride, triStride; 818 int vertexStride, triStride;
819 mesh.getVertexListAsPtrToFloatArray( out vertices, out vertexStride, out vertexCount ); // Note, that vertices are fixed in unmanaged heap 819 mesh.getVertexListAsPtrToFloatArray(out vertices, out vertexStride, out vertexCount); // Note, that vertices are fixed in unmanaged heap
820 mesh.getIndexListAsPtrToIntArray( out indices, out triStride, out indexCount ); // Also fixed, needs release after usage 820 mesh.getIndexListAsPtrToIntArray(out indices, out triStride, out indexCount); // Also fixed, needs release after usage
821 821
822 mesh.releaseSourceMeshData(); // free up the original mesh data to save memory 822 mesh.releaseSourceMeshData(); // free up the original mesh data to save memory
823 823
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 0e03e81..92afe39 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -3799,7 +3799,7 @@ namespace OpenSim.Region.Physics.OdePlugin
3799 } 3799 }
3800 3800
3801 public void start(int unused) 3801 public void start(int unused)
3802 { 3802 {
3803 ds.SetViewpoint(ref xyz, ref hpr); 3803 ds.SetViewpoint(ref xyz, ref hpr);
3804 } 3804 }
3805#endif 3805#endif