aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/world/Primitive.cs
diff options
context:
space:
mode:
authorMW2007-03-07 20:18:20 +0000
committerMW2007-03-07 20:18:20 +0000
commit48b05c6784e8e3c647b4efc8ffdee7c51b59251f (patch)
tree74b45ca30273152b2ee5b1cfc3a73cc3c8f4b4e8 /src/world/Primitive.cs
parentfixed genvers.sh (diff)
downloadopensim-SC_OLD-48b05c6784e8e3c647b4efc8ffdee7c51b59251f.zip
opensim-SC_OLD-48b05c6784e8e3c647b4efc8ffdee7c51b59251f.tar.gz
opensim-SC_OLD-48b05c6784e8e3c647b4efc8ffdee7c51b59251f.tar.bz2
opensim-SC_OLD-48b05c6784e8e3c647b4efc8ffdee7c51b59251f.tar.xz
Hopefully fixed the Session logout bug.
Should now see avatars for other users connected to the same sim.
Diffstat (limited to 'src/world/Primitive.cs')
-rw-r--r--src/world/Primitive.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/world/Primitive.cs b/src/world/Primitive.cs
index 31ef533..7b1f69a 100644
--- a/src/world/Primitive.cs
+++ b/src/world/Primitive.cs
@@ -55,7 +55,7 @@ namespace OpenSim.world
55 objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[1]; 55 objupdate.ObjectData = new libsecondlife.Packets.ObjectUpdatePacket.ObjectDataBlock[1];
56 PrimData PData = new PrimData(); 56 PrimData PData = new PrimData();
57 this.primData = PData; 57 this.primData = PData;
58 objupdate.ObjectData[0] = new ObjectUpdatePacket.ObjectDataBlock();//OpenSim_Main.local_world.PrimTemplate; 58 objupdate.ObjectData[0] = new ObjectUpdatePacket.ObjectDataBlock();
59 objupdate.ObjectData[0].PSBlock = new byte[0]; 59 objupdate.ObjectData[0].PSBlock = new byte[0];
60 objupdate.ObjectData[0].ExtraParams = new byte[1]; 60 objupdate.ObjectData[0].ExtraParams = new byte[1];
61 objupdate.ObjectData[0].MediaURL = new byte[0]; 61 objupdate.ObjectData[0].MediaURL = new byte[0];
@@ -67,7 +67,7 @@ namespace OpenSim.world
67 objupdate.ObjectData[0].JointPivot = new LLVector3(0,0,0); 67 objupdate.ObjectData[0].JointPivot = new LLVector3(0,0,0);
68 objupdate.ObjectData[0].Material = 3; 68 objupdate.ObjectData[0].Material = 3;
69 objupdate.ObjectData[0].UpdateFlags=32+65536+131072+256+4+8+2048+524288+268435456; 69 objupdate.ObjectData[0].UpdateFlags=32+65536+131072+256+4+8+2048+524288+268435456;
70 objupdate.ObjectData[0].TextureAnim = new byte[0]; 70 objupdate.ObjectData[0].TextureAnim = new byte[0];
71 objupdate.ObjectData[0].Sound = LLUUID.Zero; 71 objupdate.ObjectData[0].Sound = LLUUID.Zero;
72 LLObject.TextureEntry ntex = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005")); 72 LLObject.TextureEntry ntex = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005"));
73 objupdate.ObjectData[0].TextureEntry = ntex.ToBytes(); 73 objupdate.ObjectData[0].TextureEntry = ntex.ToBytes();
@@ -89,6 +89,7 @@ namespace OpenSim.world
89 PData.ProfileCurve = objupdate.ObjectData[0].ProfileCurve = addPacket.ObjectData.ProfileCurve; 89 PData.ProfileCurve = objupdate.ObjectData[0].ProfileCurve = addPacket.ObjectData.ProfileCurve;
90 PData.ParentID = objupdate.ObjectData[0].ParentID = 0; 90 PData.ParentID = objupdate.ObjectData[0].ParentID = 0;
91 PData.ProfileHollow = objupdate.ObjectData[0].ProfileHollow = addPacket.ObjectData.ProfileHollow; 91 PData.ProfileHollow = objupdate.ObjectData[0].ProfileHollow = addPacket.ObjectData.ProfileHollow;
92
92 //finish off copying rest of shape data 93 //finish off copying rest of shape data
93 94
94 objupdate.ObjectData[0].ID = (uint)(localID); 95 objupdate.ObjectData[0].ID = (uint)(localID);