From 56e6587c9f3ff9b8b9e48ff20a21244b739e2081 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 3 Apr 2007 13:37:11 +0000 Subject: Temporary fix for the object taking bug --- OpenSim.RegionServer/world/Primitive.cs | 38 +-------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) (limited to 'OpenSim.RegionServer/world') diff --git a/OpenSim.RegionServer/world/Primitive.cs b/OpenSim.RegionServer/world/Primitive.cs index cbffa7e..f60d991 100644 --- a/OpenSim.RegionServer/world/Primitive.cs +++ b/OpenSim.RegionServer/world/Primitive.cs @@ -158,46 +158,10 @@ namespace OpenSim.world pos2 = new LLVector3(pPos.X, pPos.Y, pPos.Z); } if (this.newPrimFlag) - { - /* ObjectOwnerPacket objown = new ObjectOwnerPacket(); - objown.HeaderData.GroupID = LLUUID.Zero; - objown.HeaderData.Override = false; - objown.HeaderData.OwnerID = LLUUID.Zero; - objown.ObjectData = new ObjectOwnerPacket.ObjectDataBlock[1]; - objown.ObjectData[0] = new ObjectOwnerPacket.ObjectDataBlock(); - objown.ObjectData[0].ObjectLocalID = this.localid; - ObjectGroupPacket objgroup = new ObjectGroupPacket(); - objgroup.ObjectData = new ObjectGroupPacket.ObjectDataBlock[1]; - objgroup.ObjectData[0] = new ObjectGroupPacket.ObjectDataBlock(); - objgroup.ObjectData[0].ObjectLocalID = this.localid; - ObjectPermissionsPacket objper = new ObjectPermissionsPacket(); - objper.HeaderData.Override = false; - objper.ObjectData = new ObjectPermissionsPacket.ObjectDataBlock[3]; - for (int i = 0; i < 3; i++) - { - objper.ObjectData[i] = new ObjectPermissionsPacket.ObjectDataBlock(); - objper.ObjectData[i].ObjectLocalID = this.localid; - objper.ObjectData[i].Set = 1; - objper.ObjectData[i].Field = 0; - } - objper.ObjectData[0].Mask = 8192; - objper.ObjectData[1].Mask = 16384; - objper.ObjectData[2].Mask = 32768;*/ - + { foreach (SimClient client in m_clientThreads.Values) { client.OutPacket(OurPacket); - /* objown.AgentData.AgentID = client.AgentID; - objown.AgentData.SessionID = client.SessionID; - objown.HeaderData.OwnerID = client.AgentID; - client.OutPacket(objown); - objgroup.AgentData.AgentID = client.AgentID; - objgroup.AgentData.GroupID = LLUUID.Zero; - objgroup.AgentData.SessionID = client.SessionID; - client.OutPacket(objgroup); - objper.AgentData.AgentID = client.AgentID; - objper.AgentData.SessionID = client.SessionID; - client.OutPacket(objper);*/ } this.newPrimFlag = false; } -- cgit v1.1