diff options
author | Dahlia Trimble | 2008-08-22 07:06:33 +0000 |
---|---|---|
committer | Dahlia Trimble | 2008-08-22 07:06:33 +0000 |
commit | 261876fd47a9a8aca70c2096d9c787c4ff51f8b4 (patch) | |
tree | 73906f5e3eba279617468308c97a2e8a2dc28221 /OpenSim/Region/Physics/Meshing/SculptMesh.cs | |
parent | Mantis#904. Thank you kindly, Jonc for a patch that solves: (diff) | |
download | opensim-SC_OLD-261876fd47a9a8aca70c2096d9c787c4ff51f8b4.zip opensim-SC_OLD-261876fd47a9a8aca70c2096d9c787c4ff51f8b4.tar.gz opensim-SC_OLD-261876fd47a9a8aca70c2096d9c787c4ff51f8b4.tar.bz2 opensim-SC_OLD-261876fd47a9a8aca70c2096d9c787c4ff51f8b4.tar.xz |
Commented out the float array "normals" in the Mesh object and all references to save memory as it was unused
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/SculptMesh.cs')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/SculptMesh.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/Meshing/SculptMesh.cs b/OpenSim/Region/Physics/Meshing/SculptMesh.cs index 1c3153a..360b2f7 100644 --- a/OpenSim/Region/Physics/Meshing/SculptMesh.cs +++ b/OpenSim/Region/Physics/Meshing/SculptMesh.cs | |||
@@ -202,7 +202,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
202 | { | 202 | { |
203 | this.triangles.Clear(); | 203 | this.triangles.Clear(); |
204 | this.vertices.Clear(); | 204 | this.vertices.Clear(); |
205 | normals = new float[0]; | 205 | //normals = new float[0]; |
206 | 206 | ||
207 | } | 207 | } |
208 | public void processSculptTexture() | 208 | public void processSculptTexture() |