From db046f1fbacf3b41b145f965cc1861df04d7aa6f Mon Sep 17 00:00:00 2001
From: Diva Canto
Date: Sat, 19 Jun 2010 08:51:07 -0700
Subject: Reinstated the behavior of AddPrimShape as it was as of December.
 Trying to fix mantis #4777

---
 OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 100f98d..7fd59a0 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -1781,6 +1781,7 @@ namespace OpenSim.Region.Physics.OdePlugin
                     m_log.ErrorFormat("[PHYSICS]: Exception while meshing prim {0}.", primName);
                     m_log.Debug(e.ToString());
                     mesh = null;
+                    return null;
                 }
             }
 
-- 
cgit v1.1