From e8ad8593b65e0d82d9ddf1ff4ea3536489856d72 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 8 Jul 2011 20:58:44 +0100 Subject: refactor: eliminate redundant return statement --- OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index ad03cc8..e92e97b 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs @@ -299,8 +299,6 @@ namespace OpenSim.Region.Physics.Meshing Face f = new Face(v1, v2, v3); faces.Add(f); } - - return; } private Mesh CreateMeshFromPrimMesher(string primName, PrimitiveBaseShape primShape, Vector3 size, float lod) @@ -361,7 +359,7 @@ namespace OpenSim.Region.Physics.Meshing physicsParms = (OSDMap)map["physics_shape"]; // old asset format else if (map.ContainsKey("physics_mesh")) physicsParms = (OSDMap)map["physics_mesh"]; // new asset format - + if (physicsParms == null) { m_log.Warn("[MESH]: no recognized physics mesh found in mesh asset"); -- cgit v1.1