diff options
author | Melanie | 2010-09-26 18:05:55 +0100 |
---|---|---|
committer | Melanie | 2010-09-26 18:06:23 +0100 |
commit | d0c271adc647e9e49e53988bedb0ebc962540378 (patch) | |
tree | e3268e0eb07a294418d4942215fba5c1dbe4ca65 /OpenSim/Region/Physics/Meshing | |
parent | adding configurable j2kDecodeCache path (diff) | |
download | opensim-SC_OLD-d0c271adc647e9e49e53988bedb0ebc962540378.zip opensim-SC_OLD-d0c271adc647e9e49e53988bedb0ebc962540378.tar.gz opensim-SC_OLD-d0c271adc647e9e49e53988bedb0ebc962540378.tar.bz2 opensim-SC_OLD-d0c271adc647e9e49e53988bedb0ebc962540378.tar.xz |
Typo fixes
Diffstat (limited to 'OpenSim/Region/Physics/Meshing')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 62f947c..20a5bb4 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -71,7 +71,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | private bool cacheSculptMaps = true; | 73 | private bool cacheSculptMaps = true; |
74 | private string decodedScultMapPath = null; | 74 | private string decodedSculptMapPath = null; |
75 | 75 | ||
76 | private float minSizeForComplexMesh = 0.2f; // prims with all dimensions smaller than this will have a bounding box mesh | 76 | private float minSizeForComplexMesh = 0.2f; // prims with all dimensions smaller than this will have a bounding box mesh |
77 | 77 | ||
@@ -81,16 +81,16 @@ namespace OpenSim.Region.Physics.Meshing | |||
81 | { | 81 | { |
82 | IConfig start_config = config.Configs["Startup"]; | 82 | IConfig start_config = config.Configs["Startup"]; |
83 | 83 | ||
84 | decodedScultMapPath = start_config.GetString("DecodedSculpMapPath","j2kDecodeCache"); | 84 | decodedSculptMapPath = start_config.GetString("DecodedSculptMapPath","j2kDecodeCache"); |
85 | 85 | ||
86 | try | 86 | try |
87 | { | 87 | { |
88 | if (!Directory.Exists(decodedScultMapPath)) | 88 | if (!Directory.Exists(decodedSculptMapPath)) |
89 | Directory.CreateDirectory(decodedScultMapPath); | 89 | Directory.CreateDirectory(decodedSculptMapPath); |
90 | } | 90 | } |
91 | catch (Exception e) | 91 | catch (Exception e) |
92 | { | 92 | { |
93 | m_log.WarnFormat("[SCULPT]: Unable to create {0} directory: ", decodedScultMapPath, e.Message); | 93 | m_log.WarnFormat("[SCULPT]: Unable to create {0} directory: ", decodedSculptMapPath, e.Message); |
94 | } | 94 | } |
95 | 95 | ||
96 | } | 96 | } |
@@ -265,7 +265,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
265 | { | 265 | { |
266 | if (cacheSculptMaps && primShape.SculptTexture != UUID.Zero) | 266 | if (cacheSculptMaps && primShape.SculptTexture != UUID.Zero) |
267 | { | 267 | { |
268 | decodedSculptFileName = System.IO.Path.Combine(decodedScultMapPath, "smap_" + primShape.SculptTexture.ToString()); | 268 | decodedSculptFileName = System.IO.Path.Combine(decodedSculptMapPath, "smap_" + primShape.SculptTexture.ToString()); |
269 | try | 269 | try |
270 | { | 270 | { |
271 | if (File.Exists(decodedSculptFileName)) | 271 | if (File.Exists(decodedSculptFileName)) |