aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/Meshing/Meshmerizer.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
index f469ad6..aa8df23 100644
--- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
+++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs
@@ -77,6 +77,20 @@ namespace OpenSim.Region.Physics.Meshing
77 private float minSizeForComplexMesh = 0.2f; // prims with all dimensions smaller than this will have a bounding box mesh 77 private float minSizeForComplexMesh = 0.2f; // prims with all dimensions smaller than this will have a bounding box mesh
78 78
79 79
80 public Meshmerizer()
81 {
82 try
83 {
84 if (!Directory.Exists(decodedScultMapPath))
85 Directory.CreateDirectory(decodedScultMapPath);
86 }
87 catch (Exception e)
88 {
89 m_log.WarnFormat("[SCULPT]: Unable to create {0} directory: ", decodedScultMapPath, e.Message);
90 }
91
92 }
93
80 /// <summary> 94 /// <summary>
81 /// creates a simple box mesh of the specified size. This mesh is of very low vertex count and may 95 /// creates a simple box mesh of the specified size. This mesh is of very low vertex count and may
82 /// be useful as a backup proxy when level of detail is not needed or when more complex meshes fail 96 /// be useful as a backup proxy when level of detail is not needed or when more complex meshes fail