diff options
Diffstat (limited to 'OpenSim/Region/Physics/Meshing/Meshmerizer.cs')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 56eb359..d56ddc8 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -78,6 +78,20 @@ namespace OpenSim.Region.Physics.Meshing | |||
78 | 78 | ||
79 | private Dictionary<ulong, Mesh> m_uniqueMeshes = new Dictionary<ulong, Mesh>(); | 79 | private Dictionary<ulong, Mesh> m_uniqueMeshes = new Dictionary<ulong, Mesh>(); |
80 | 80 | ||
81 | public Meshmerizer() | ||
82 | { | ||
83 | try | ||
84 | { | ||
85 | if (!Directory.Exists(decodedScultMapPath)) | ||
86 | Directory.CreateDirectory(decodedScultMapPath); | ||
87 | } | ||
88 | catch (Exception e) | ||
89 | { | ||
90 | m_log.WarnFormat("[SCULPT]: Unable to create {0} directory: ", decodedScultMapPath, e.Message); | ||
91 | } | ||
92 | |||
93 | } | ||
94 | |||
81 | /// <summary> | 95 | /// <summary> |
82 | /// creates a simple box mesh of the specified size. This mesh is of very low vertex count and may | 96 | /// creates a simple box mesh of the specified size. This mesh is of very low vertex count and may |
83 | /// be useful as a backup proxy when level of detail is not needed or when more complex meshes fail | 97 | /// be useful as a backup proxy when level of detail is not needed or when more complex meshes fail |