diff options
author | Jeff Ames | 2008-06-25 14:30:28 +0000 |
---|---|---|
committer | Jeff Ames | 2008-06-25 14:30:28 +0000 |
commit | a2b1a1787d620f70c10221545414b41ffdfe27da (patch) | |
tree | fe356d669c4dffab062192a6676acb3cf4c6641c /OpenSim/Region/Physics/Meshing | |
parent | Mantis#1584. Thank you kindly, Lulurun for a patch that: (diff) | |
download | opensim-SC-a2b1a1787d620f70c10221545414b41ffdfe27da.zip opensim-SC-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.gz opensim-SC-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.bz2 opensim-SC-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.xz |
Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Physics/Meshing')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 72c5d7f..5a04a8e 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -1530,7 +1530,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
1530 | ) | 1530 | ) |
1531 | { | 1531 | { |
1532 | #if SPAM | 1532 | #if SPAM |
1533 | System.Console.WriteLine( "reverting to geodesic sphere for prim: " + primName ); | 1533 | System.Console.WriteLine("reverting to geodesic sphere for prim: " + primName); |
1534 | #endif | 1534 | #endif |
1535 | return CreateSphereMesh(primName, primShape, size); | 1535 | return CreateSphereMesh(primName, primShape, size); |
1536 | } | 1536 | } |
@@ -1802,10 +1802,13 @@ namespace OpenSim.Region.Physics.Meshing | |||
1802 | #if SPAM | 1802 | #if SPAM |
1803 | int vCount = 0; | 1803 | int vCount = 0; |
1804 | 1804 | ||
1805 | foreach ( Vertex v in result.vertices ) | 1805 | foreach (Vertex v in result.vertices) |
1806 | if ( v != null ) | 1806 | { |
1807 | if (v != null) | ||
1807 | vCount++; | 1808 | vCount++; |
1808 | System.Console.WriteLine( "Mesh vertex count: " + vCount.ToString()); | 1809 | } |
1810 | |||
1811 | System.Console.WriteLine("Mesh vertex count: " + vCount.ToString()); | ||
1809 | #endif | 1812 | #endif |
1810 | 1813 | ||
1811 | return result; | 1814 | return result; |