aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs
index 451345f..b694270 100644
--- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs
+++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs
@@ -340,7 +340,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
340 faces = new List<Face>(); 340 faces = new List<Face>();
341 OSD meshOsd = null; 341 OSD meshOsd = null;
342 342
343 if (primShape.SculptData.Length <= 0) 343 if (primShape.SculptData == null || primShape.SculptData.Length <= 0)
344 { 344 {
345// m_log.InfoFormat("[MESH]: asset data for {0} is zero length", primName); 345// m_log.InfoFormat("[MESH]: asset data for {0} is zero length", primName);
346 return false; 346 return false;
@@ -363,6 +363,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
363 catch (Exception e) 363 catch (Exception e)
364 { 364 {
365 m_log.Error("[MESH]: Exception deserializing mesh asset header:" + e.ToString()); 365 m_log.Error("[MESH]: Exception deserializing mesh asset header:" + e.ToString());
366 return false;
366 } 367 }
367 368
368 start = data.Position; 369 start = data.Position;