aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-25 02:50:17 +0000
committerTeravus Ovares2008-05-25 02:50:17 +0000
commitf57cb17494ea4e0337ee6a41af6f2d11c70a6e6f (patch)
treee0a182e3bf05f08afb8fcf2326a539a8f3c0c498 /OpenSim
parent* Releases Pinned vertex/index list in ODE on next mesh request. (diff)
downloadopensim-SC_OLD-f57cb17494ea4e0337ee6a41af6f2d11c70a6e6f.zip
opensim-SC_OLD-f57cb17494ea4e0337ee6a41af6f2d11c70a6e6f.tar.gz
opensim-SC_OLD-f57cb17494ea4e0337ee6a41af6f2d11c70a6e6f.tar.bz2
opensim-SC_OLD-f57cb17494ea4e0337ee6a41af6f2d11c70a6e6f.tar.xz
* kill a potentially large float array.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Physics/Meshing/SculptMesh.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/SculptMesh.cs b/OpenSim/Region/Physics/Meshing/SculptMesh.cs
index 28a4473..5760591 100644
--- a/OpenSim/Region/Physics/Meshing/SculptMesh.cs
+++ b/OpenSim/Region/Physics/Meshing/SculptMesh.cs
@@ -213,7 +213,7 @@ namespace OpenSim.Region.Physics.Meshing
213 int COLUMNS = x_max + 1; 213 int COLUMNS = x_max + 1;
214 214
215 Vertex[] sVertices = new Vertex[COLUMNS * y_max]; 215 Vertex[] sVertices = new Vertex[COLUMNS * y_max];
216 float[] indices = new float[COLUMNS * (y_max - 1) * 6]; 216 //float[] indices = new float[COLUMNS * (y_max - 1) * 6];
217 217
218 for (int y = 0; y < y_max; y++) 218 for (int y = 0; y < y_max; y++)
219 { 219 {