add a null check for safety

0.6.0-stable
Sean Dague 2008-07-17 18:58:58 +00:00
parent d5e0a3a184
commit db9e6584bf
1 changed files with 3 additions and 0 deletions

View File

@ -838,6 +838,9 @@ namespace OpenSim.Framework
public void ReadInExtraParamsBytes(byte[] data) public void ReadInExtraParamsBytes(byte[] data)
{ {
if (data == null)
return;
const ushort FlexiEP = 0x10; const ushort FlexiEP = 0x10;
const ushort LightEP = 0x20; const ushort LightEP = 0x20;
const ushort SculptEP = 0x30; const ushort SculptEP = 0x30;