diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 1109e77..4514b1e 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -3295,7 +3295,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3295 | ObjectPropertiesFamilyPacket.ObjectDataBlock objPropDB = new ObjectPropertiesFamilyPacket.ObjectDataBlock(); | 3295 | ObjectPropertiesFamilyPacket.ObjectDataBlock objPropDB = new ObjectPropertiesFamilyPacket.ObjectDataBlock(); |
3296 | objPropDB.RequestFlags = RequestFlags; | 3296 | objPropDB.RequestFlags = RequestFlags; |
3297 | objPropDB.ObjectID = ObjectUUID; | 3297 | objPropDB.ObjectID = ObjectUUID; |
3298 | objPropDB.OwnerID = OwnerID; | 3298 | if (OwnerID == GroupID) |
3299 | objPropDB.OwnerID = UUID.Zero; | ||
3300 | else | ||
3301 | objPropDB.OwnerID = OwnerID; | ||
3299 | objPropDB.GroupID = GroupID; | 3302 | objPropDB.GroupID = GroupID; |
3300 | objPropDB.BaseMask = BaseMask; | 3303 | objPropDB.BaseMask = BaseMask; |
3301 | objPropDB.OwnerMask = OwnerMask; | 3304 | objPropDB.OwnerMask = OwnerMask; |
@@ -3340,7 +3343,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3340 | // proper.ObjectData[0].LastOwnerID = UUID.Zero; | 3343 | // proper.ObjectData[0].LastOwnerID = UUID.Zero; |
3341 | 3344 | ||
3342 | proper.ObjectData[0].ObjectID = ObjectUUID; | 3345 | proper.ObjectData[0].ObjectID = ObjectUUID; |
3343 | proper.ObjectData[0].OwnerID = OwnerUUID; | 3346 | if (OwnerUUID == GroupUUID) |
3347 | proper.ObjectData[0].OwnerID = UUID.Zero; | ||
3348 | else | ||
3349 | proper.ObjectData[0].OwnerID = OwnerUUID; | ||
3344 | proper.ObjectData[0].TouchName = LLUtil.StringToPacketBytes(TouchTitle); | 3350 | proper.ObjectData[0].TouchName = LLUtil.StringToPacketBytes(TouchTitle); |
3345 | proper.ObjectData[0].TextureID = TextureID; | 3351 | proper.ObjectData[0].TextureID = TextureID; |
3346 | proper.ObjectData[0].SitName = LLUtil.StringToPacketBytes(SitTitle); | 3352 | proper.ObjectData[0].SitName = LLUtil.StringToPacketBytes(SitTitle); |