aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorUbitUmarov2014-08-21 00:49:10 +0100
committerUbitUmarov2014-08-21 00:49:10 +0100
commit5bf145a3977a55c474106bbe2a6c107dd9457f0d (patch)
treeb43c772cdb4c15de78e8262b366a26af3d2fefae /OpenSim/Region/Framework
parent revert droping udp packet resends after 6 retries, keep resending. (diff)
downloadopensim-SC_OLD-5bf145a3977a55c474106bbe2a6c107dd9457f0d.zip
opensim-SC_OLD-5bf145a3977a55c474106bbe2a6c107dd9457f0d.tar.gz
opensim-SC_OLD-5bf145a3977a55c474106bbe2a6c107dd9457f0d.tar.bz2
opensim-SC_OLD-5bf145a3977a55c474106bbe2a6c107dd9457f0d.tar.xz
add a direct sendpartfullUpdate to send a full object update to a part,
optionally overriding its parentID. check what it does to attachments
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 5ebf3db..73283ed 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1916,6 +1916,7 @@ namespace OpenSim.Region.Framework.Scenes
1916 if (ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200) 1916 if (ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200)
1917 return; 1917 return;
1918 1918
1919 p.ControllingClient.SendPartFullUpdate(sog.RootPart,LocalId + 1);
1919 sog.SendFullUpdateToClient(p.ControllingClient); 1920 sog.SendFullUpdateToClient(p.ControllingClient);
1920 SendFullUpdateToClient(p.ControllingClient); // resend our data by updates path 1921 SendFullUpdateToClient(p.ControllingClient); // resend our data by updates path
1921 }); 1922 });
@@ -4746,7 +4747,10 @@ namespace OpenSim.Region.Framework.Scenes
4746 foreach (SceneObjectGroup sog in m_attachments) 4747 foreach (SceneObjectGroup sog in m_attachments)
4747 { 4748 {
4748 if (p == this || !sog.HasPrivateAttachmentPoint) 4749 if (p == this || !sog.HasPrivateAttachmentPoint)
4750 {
4751 p.ControllingClient.SendPartFullUpdate(sog.RootPart, LocalId + 1);
4749 sog.SendFullUpdateToClient(p.ControllingClient); 4752 sog.SendFullUpdateToClient(p.ControllingClient);
4753 }
4750 } 4754 }
4751 SendFullUpdateToClient(p.ControllingClient); // resend our data by updates path 4755 SendFullUpdateToClient(p.ControllingClient); // resend our data by updates path
4752 } 4756 }