diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim.RegionServer/world/Primitive.cs | 38 |
1 files changed, 1 insertions, 37 deletions
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 | |||
158 | pos2 = new LLVector3(pPos.X, pPos.Y, pPos.Z); | 158 | pos2 = new LLVector3(pPos.X, pPos.Y, pPos.Z); |
159 | } | 159 | } |
160 | if (this.newPrimFlag) | 160 | if (this.newPrimFlag) |
161 | { | 161 | { |
162 | /* ObjectOwnerPacket objown = new ObjectOwnerPacket(); | ||
163 | objown.HeaderData.GroupID = LLUUID.Zero; | ||
164 | objown.HeaderData.Override = false; | ||
165 | objown.HeaderData.OwnerID = LLUUID.Zero; | ||
166 | objown.ObjectData = new ObjectOwnerPacket.ObjectDataBlock[1]; | ||
167 | objown.ObjectData[0] = new ObjectOwnerPacket.ObjectDataBlock(); | ||
168 | objown.ObjectData[0].ObjectLocalID = this.localid; | ||
169 | ObjectGroupPacket objgroup = new ObjectGroupPacket(); | ||
170 | objgroup.ObjectData = new ObjectGroupPacket.ObjectDataBlock[1]; | ||
171 | objgroup.ObjectData[0] = new ObjectGroupPacket.ObjectDataBlock(); | ||
172 | objgroup.ObjectData[0].ObjectLocalID = this.localid; | ||
173 | ObjectPermissionsPacket objper = new ObjectPermissionsPacket(); | ||
174 | objper.HeaderData.Override = false; | ||
175 | objper.ObjectData = new ObjectPermissionsPacket.ObjectDataBlock[3]; | ||
176 | for (int i = 0; i < 3; i++) | ||
177 | { | ||
178 | objper.ObjectData[i] = new ObjectPermissionsPacket.ObjectDataBlock(); | ||
179 | objper.ObjectData[i].ObjectLocalID = this.localid; | ||
180 | objper.ObjectData[i].Set = 1; | ||
181 | objper.ObjectData[i].Field = 0; | ||
182 | } | ||
183 | objper.ObjectData[0].Mask = 8192; | ||
184 | objper.ObjectData[1].Mask = 16384; | ||
185 | objper.ObjectData[2].Mask = 32768;*/ | ||
186 | |||
187 | foreach (SimClient client in m_clientThreads.Values) | 162 | foreach (SimClient client in m_clientThreads.Values) |
188 | { | 163 | { |
189 | client.OutPacket(OurPacket); | 164 | client.OutPacket(OurPacket); |
190 | /* objown.AgentData.AgentID = client.AgentID; | ||
191 | objown.AgentData.SessionID = client.SessionID; | ||
192 | objown.HeaderData.OwnerID = client.AgentID; | ||
193 | client.OutPacket(objown); | ||
194 | objgroup.AgentData.AgentID = client.AgentID; | ||
195 | objgroup.AgentData.GroupID = LLUUID.Zero; | ||
196 | objgroup.AgentData.SessionID = client.SessionID; | ||
197 | client.OutPacket(objgroup); | ||
198 | objper.AgentData.AgentID = client.AgentID; | ||
199 | objper.AgentData.SessionID = client.SessionID; | ||
200 | client.OutPacket(objper);*/ | ||
201 | } | 165 | } |
202 | this.newPrimFlag = false; | 166 | this.newPrimFlag = false; |
203 | } | 167 | } |