diff options
author | BlueWall | 2010-10-16 05:03:01 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2010-10-16 20:59:18 -0400 |
commit | 9e421868e3685990b040dc7202fc5cc9d51ca48d (patch) | |
tree | ec64c28ed62391fd91dcf22ec8fbf7f4b7db5a78 /OpenSim/Framework/PrimitiveBaseShape.cs | |
parent | Drop max oar loading version back to 0 from 1 (diff) | |
download | opensim-SC-9e421868e3685990b040dc7202fc5cc9d51ca48d.zip opensim-SC-9e421868e3685990b040dc7202fc5cc9d51ca48d.tar.gz opensim-SC-9e421868e3685990b040dc7202fc5cc9d51ca48d.tar.bz2 opensim-SC-9e421868e3685990b040dc7202fc5cc9d51ca48d.tar.xz |
Add missing check for !_projectionEntry
Signed-off-by: Teravus Ovares (Dan Olivares) <teravus@gmail.com>
Diffstat (limited to 'OpenSim/Framework/PrimitiveBaseShape.cs')
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
901 | Array.Copy(ProjectionData, 0, returnbytes, i, ProjectionData.Length); | 901 | Array.Copy(ProjectionData, 0, returnbytes, i, ProjectionData.Length); |
902 | i += ProjectionData.Length; | 902 | i += ProjectionData.Length; |
903 | } | 903 | } |
904 | if (!_flexiEntry && !_lightEntry && !_sculptEntry) | 904 | if (!_flexiEntry && !_lightEntry && !_sculptEntry && !_projectionEntry) |
905 | { | 905 | { |
906 | byte[] returnbyte = new byte[1]; | 906 | byte[] returnbyte = new byte[1]; |
907 | returnbyte[0] = 0; | 907 | returnbyte[0] = 0; |