From 9e421868e3685990b040dc7202fc5cc9d51ca48d Mon Sep 17 00:00:00 2001
From: BlueWall
Date: Sat, 16 Oct 2010 05:03:01 -0400
Subject: Add missing check for !_projectionEntry Signed-off-by: Teravus Ovares
 (Dan Olivares) <teravus@gmail.com>

---
 OpenSim/Framework/PrimitiveBaseShape.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'OpenSim/Framework/PrimitiveBaseShape.cs')

diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs
index ff7eaef..c5eb40b 100644
--- a/OpenSim/Framework/PrimitiveBaseShape.cs
+++ b/OpenSim/Framework/PrimitiveBaseShape.cs
@@ -901,7 +901,7 @@ namespace OpenSim.Framework
                 Array.Copy(ProjectionData, 0, returnbytes, i, ProjectionData.Length);
                 i += ProjectionData.Length;
             }
-            if (!_flexiEntry && !_lightEntry && !_sculptEntry)
+            if (!_flexiEntry && !_lightEntry && !_sculptEntry && !_projectionEntry)
             {
                 byte[] returnbyte = new byte[1];
                 returnbyte[0] = 0;
-- 
cgit v1.1