aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/PrimitiveBaseShape.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index ffdd40f..5657b66 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -197,7 +197,13 @@ namespace OpenSim.Framework
197 { 197 {
198 get { return m_textureEntry; } 198 get { return m_textureEntry; }
199 199
200 set { m_textureEntry = value; } 200 set
201 {
202 if (value == null)
203 m_textureEntry = new byte[1];
204 else
205 m_textureEntry = value;
206 }
201 } 207 }
202 208
203 209