diff options
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOdeMeshing')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs index 032d4ed..dddec86 100644 --- a/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs +++ b/OpenSim/Region/PhysicsModules/ubOdeMeshing/Meshmerizer.cs | |||
@@ -1383,7 +1383,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1383 | { | 1383 | { |
1384 | File.Delete(filename); | 1384 | File.Delete(filename); |
1385 | } | 1385 | } |
1386 | catch (IOException e) | 1386 | catch (IOException) |
1387 | { | 1387 | { |
1388 | m_log.ErrorFormat( | 1388 | m_log.ErrorFormat( |
1389 | "[MESH CACHE]: Failed to delete file {0}",filename); | 1389 | "[MESH CACHE]: Failed to delete file {0}",filename); |
@@ -1589,14 +1589,12 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing | |||
1589 | f = new Face(k,l,m); | 1589 | f = new Face(k,l,m); |
1590 | newfaces.Add(f); | 1590 | newfaces.Add(f); |
1591 | } | 1591 | } |
1592 | return true; | ||
1593 | } | 1592 | } |
1594 | catch | 1593 | catch |
1595 | { | 1594 | { |
1596 | |||
1597 | return false; | 1595 | return false; |
1598 | } | 1596 | } |
1599 | return false; | 1597 | return true; |
1600 | } | 1598 | } |
1601 | } | 1599 | } |
1602 | } | 1600 | } |