aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorMic Bowman2011-04-12 12:36:36 -0700
committerMic Bowman2011-04-13 15:37:25 -0700
commit3fe22126ca3974b2a10365121ee0141fb54806e6 (patch)
treed0373a62acefe93d4023c5eeb179fb6645d059bc /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentNew tokenbucket algorithm. This one provides fair sharing of the queues (diff)
downloadopensim-SC-3fe22126ca3974b2a10365121ee0141fb54806e6.zip
opensim-SC-3fe22126ca3974b2a10365121ee0141fb54806e6.tar.gz
opensim-SC-3fe22126ca3974b2a10365121ee0141fb54806e6.tar.bz2
opensim-SC-3fe22126ca3974b2a10365121ee0141fb54806e6.tar.xz
First pass at moving object property requests into a queue similar
to the entity update queue. The number of property packets can become significant when selecting/deselecting large numbers of objects. This is experimental code.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs10
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index ca7d9d9..30563d4 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1765,10 +1765,12 @@ namespace OpenSim.Region.Framework.Scenes
1765 /// <param name="part"></param> 1765 /// <param name="part"></param>
1766 public void ServiceObjectPropertiesFamilyRequest(IClientAPI remoteClient, UUID AgentID, uint RequestFlags) 1766 public void ServiceObjectPropertiesFamilyRequest(IClientAPI remoteClient, UUID AgentID, uint RequestFlags)
1767 { 1767 {
1768 remoteClient.SendObjectPropertiesFamilyData(RequestFlags, RootPart.UUID, RootPart.OwnerID, RootPart.GroupID, RootPart.BaseMask, 1768 remoteClient.SendObjectPropertiesFamilyData(RootPart, RequestFlags);
1769 RootPart.OwnerMask, RootPart.GroupMask, RootPart.EveryoneMask, RootPart.NextOwnerMask, 1769
1770 RootPart.OwnershipCost, RootPart.ObjectSaleType, RootPart.SalePrice, RootPart.Category, 1770// remoteClient.SendObjectPropertiesFamilyData(RequestFlags, RootPart.UUID, RootPart.OwnerID, RootPart.GroupID, RootPart.BaseMask,
1771 RootPart.CreatorID, RootPart.Name, RootPart.Description); 1771// RootPart.OwnerMask, RootPart.GroupMask, RootPart.EveryoneMask, RootPart.NextOwnerMask,
1772// RootPart.OwnershipCost, RootPart.ObjectSaleType, RootPart.SalePrice, RootPart.Category,
1773// RootPart.CreatorID, RootPart.Name, RootPart.Description);
1772 } 1774 }
1773 1775
1774 public void SetPartOwner(SceneObjectPart part, UUID cAgentID, UUID cGroupID) 1776 public void SetPartOwner(SceneObjectPart part, UUID cAgentID, UUID cGroupID)