Merge branch 'master' of /var/git/opensim/
commit
181daf3a9d
|
@ -276,7 +276,7 @@ namespace OpenSim.Region.Physics.Meshing
|
|||
|
||||
m_log.Debug("[MESH]: experimental mesh proxy generation");
|
||||
|
||||
OSD meshOsd;
|
||||
OSD meshOsd = null;
|
||||
|
||||
if (primShape.SculptData.Length <= 0)
|
||||
{
|
||||
|
@ -286,8 +286,15 @@ namespace OpenSim.Region.Physics.Meshing
|
|||
|
||||
long start = 0;
|
||||
using (MemoryStream data = new MemoryStream(primShape.SculptData))
|
||||
{
|
||||
try
|
||||
{
|
||||
meshOsd = (OSDMap)OSDParser.DeserializeLLSDBinary(data);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.Error("[MESH]: Exception deserializing mesh asset header:" + e.ToString());
|
||||
}
|
||||
start = data.Position;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue