* Thanks cmickeyb, for a patch that corrects an invalid construction of Primitive.TextureEntry (a "blank" texture should be initialized with UUID.Zero, not null)

slimupdates
John Hurliman 2010-04-27 17:11:24 -07:00
parent 6d05ea2a75
commit 59ac792e44
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ namespace OpenSim.Framework
catch { } catch { }
m_log.Warn("[SHAPE]: Failed to decode texture, length=" + ((m_textureEntry != null) ? m_textureEntry.Length : 0)); m_log.Warn("[SHAPE]: Failed to decode texture, length=" + ((m_textureEntry != null) ? m_textureEntry.Length : 0));
return new Primitive.TextureEntry(null); return new Primitive.TextureEntry(UUID.Zero);
} }
set { m_textureEntry = value.GetBytes(); } set { m_textureEntry = value.GetBytes(); }