diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index bdd98584bb..ffdd40f5d2 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs @@ -838,6 +838,9 @@ namespace OpenSim.Framework public void ReadInExtraParamsBytes(byte[] data) { + if (data == null) + return; + const ushort FlexiEP = 0x10; const ushort LightEP = 0x20; const ushort SculptEP = 0x30;