mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
more safety checks
This commit is contained in:
@@ -197,7 +197,13 @@ namespace OpenSim.Framework
|
||||
{
|
||||
get { return m_textureEntry; }
|
||||
|
||||
set { m_textureEntry = value; }
|
||||
set
|
||||
{
|
||||
if (value == null)
|
||||
m_textureEntry = new byte[1];
|
||||
else
|
||||
m_textureEntry = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user