* Added DoubleDictionary.FindAll and DoubleDictionary.RemoveAll
[Simian] * Fixed several Periscope regressions * OAR file writing works now (from Periscope only, this will change soon) * Added /objectkill [on/off] to Periscope, useful when saving OAR files * Fixed miscellaneous issues (mostly with adding/removing agents in a scene) git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2481 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -310,8 +310,15 @@ namespace Simian
|
||||
update.Data[0] = (byte)prim.TreeSpecies;
|
||||
break;
|
||||
default:
|
||||
update.Data = new byte[prim.ScratchPad.Length];
|
||||
Buffer.BlockCopy(prim.ScratchPad, 0, update.Data, 0, update.Data.Length);
|
||||
if (prim.ScratchPad != null)
|
||||
{
|
||||
update.Data = new byte[prim.ScratchPad.Length];
|
||||
Buffer.BlockCopy(prim.ScratchPad, 0, update.Data, 0, update.Data.Length);
|
||||
}
|
||||
else
|
||||
{
|
||||
update.Data = new byte[0];
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user