aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
diff options
context:
space:
mode:
authorRobert Adams2013-10-28 09:30:26 -0700
committerRobert Adams2013-10-28 09:30:26 -0700
commit2be0347f5044ec723748c53db9290f3cf8bc431a (patch)
treeb52812ac7fcdcd8a7a985094e14ca3d461a39673 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
parentvarregion: update PGSQL driver for storing variable terrain size blobs. (diff)
parentBulletSim: restore collision flags when clear collision cache. (diff)
downloadopensim-SC_OLD-2be0347f5044ec723748c53db9290f3cf8bc431a.zip
opensim-SC_OLD-2be0347f5044ec723748c53db9290f3cf8bc431a.tar.gz
opensim-SC_OLD-2be0347f5044ec723748c53db9290f3cf8bc431a.tar.bz2
opensim-SC_OLD-2be0347f5044ec723748c53db9290f3cf8bc431a.tar.xz
Merge branch 'master' into varregion
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs26
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 7984acc..2b8a04f 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -4515,6 +4515,32 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4515 SceneObjectPart root = sop.ParentGroup.RootPart; 4515 SceneObjectPart root = sop.ParentGroup.RootPart;
4516 4516
4517 block.TouchName = Util.StringToBytes256(root.TouchName); 4517 block.TouchName = Util.StringToBytes256(root.TouchName);
4518
4519 // SL 3.3.4, at least, appears to read this information as a concatenated byte[] stream of UUIDs but
4520 // it's not yet clear whether this is actually used. If this is done in the future then a pre-cached
4521 // copy is really needed since it's less efficient to be constantly recreating this byte array.
4522// using (MemoryStream memStream = new MemoryStream())
4523// {
4524// using (BinaryWriter binWriter = new BinaryWriter(memStream))
4525// {
4526// for (int i = 0; i < sop.GetNumberOfSides(); i++)
4527// {
4528// Primitive.TextureEntryFace teFace = sop.Shape.Textures.FaceTextures[i];
4529//
4530// UUID textureID;
4531//
4532// if (teFace != null)
4533// textureID = teFace.TextureID;
4534// else
4535// textureID = sop.Shape.Textures.DefaultTexture.TextureID;
4536//
4537// binWriter.Write(textureID.GetBytes());
4538// }
4539//
4540// block.TextureID = memStream.ToArray();
4541// }
4542// }
4543
4518 block.TextureID = new byte[0]; // TextureID ??? 4544 block.TextureID = new byte[0]; // TextureID ???
4519 block.SitName = Util.StringToBytes256(root.SitName); 4545 block.SitName = Util.StringToBytes256(root.SitName);
4520 block.OwnerMask = root.OwnerMask; 4546 block.OwnerMask = root.OwnerMask;