Print the exception message when CSJ2K decoding fails for sculpty textures

0.6.8-post-fixes
John Hurliman 2009-10-28 01:30:39 -07:00
parent 8254256fe9
commit e31024f08b
1 changed files with 3 additions and 3 deletions

View File

@ -299,12 +299,12 @@ namespace OpenSim.Region.Physics.Meshing
}
catch (IndexOutOfRangeException)
{
m_log.Error("[PHYSICS]: OpenJpeg was unable to decode this. Physics Proxy generation failed");
m_log.Error("[PHYSICS]: OpenJpeg was unable to decode this. Physics Proxy generation failed");
return null;
}
catch (Exception)
catch (Exception ex)
{
m_log.Error("[PHYSICS]: Unable to generate a Sculpty physics proxy. Sculpty texture decode failed!");
m_log.Error("[PHYSICS]: Unable to generate a Sculpty physics proxy. Sculpty texture decode failed: " + ex.Message);
return null;
}
}