diff options
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index bdd9858..ffdd40f 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -838,6 +838,9 @@ namespace OpenSim.Framework | |||
838 | 838 | ||
839 | public void ReadInExtraParamsBytes(byte[] data) | 839 | public void ReadInExtraParamsBytes(byte[] data) |
840 | { | 840 | { |
841 | if (data == null) | ||
842 | return; | ||
843 | |||
841 | const ushort FlexiEP = 0x10; | 844 | const ushort FlexiEP = 0x10; |
842 | const ushort LightEP = 0x20; | 845 | const ushort LightEP = 0x20; |
843 | const ushort SculptEP = 0x30; | 846 | const ushort SculptEP = 0x30; |