diff options
author | Justin Clark-Casey (justincc) | 2012-02-16 00:28:57 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-16 00:28:57 +0000 |
commit | c0760f9f91de2525269ef704f7460079e6a3e3ef (patch) | |
tree | 85a264f69346a5abfb4908ecc7d943ff02230002 /OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |
parent | Fix some logic mistakes where firstly osNpcCreate() without options was creat... (diff) | |
download | opensim-SC-c0760f9f91de2525269ef704f7460079e6a3e3ef.zip opensim-SC-c0760f9f91de2525269ef704f7460079e6a3e3ef.tar.gz opensim-SC-c0760f9f91de2525269ef704f7460079e6a3e3ef.tar.bz2 opensim-SC-c0760f9f91de2525269ef704f7460079e6a3e3ef.tar.xz |
Comment out "experimental" log message printed out whenever a physics mesh was generated for a mesh
Also adds prim name to the "no asset data" error log message
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index f15e81b..6f6ed7f 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs | |||
@@ -313,7 +313,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
313 | private bool GenerateCoordsAndFacesFromPrimMeshData( | 313 | private bool GenerateCoordsAndFacesFromPrimMeshData( |
314 | string primName, PrimitiveBaseShape primShape, Vector3 size, out List<Coord> coords, out List<Face> faces) | 314 | string primName, PrimitiveBaseShape primShape, Vector3 size, out List<Coord> coords, out List<Face> faces) |
315 | { | 315 | { |
316 | m_log.DebugFormat("[MESH]: experimental mesh proxy generation for {0}", primName); | 316 | // m_log.DebugFormat("[MESH]: experimental mesh proxy generation for {0}", primName); |
317 | 317 | ||
318 | coords = new List<Coord>(); | 318 | coords = new List<Coord>(); |
319 | faces = new List<Face>(); | 319 | faces = new List<Face>(); |
@@ -321,7 +321,7 @@ namespace OpenSim.Region.Physics.Meshing | |||
321 | 321 | ||
322 | if (primShape.SculptData.Length <= 0) | 322 | if (primShape.SculptData.Length <= 0) |
323 | { | 323 | { |
324 | m_log.Error("[MESH]: asset data is zero length"); | 324 | m_log.ErrorFormat("[MESH]: asset data for {0} is zero length", primName); |
325 | return false; | 325 | return false; |
326 | } | 326 | } |
327 | 327 | ||