aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2014-08-19 02:15:01 +0100
committerUbitUmarov2014-08-19 02:15:01 +0100
commite77fafe12d622ba7ce251b1c686fc6fb5fd9579a (patch)
treece1685d4b1e8761044d29c2f021e2a5d410473e4
parentundo the hack.. its useless (diff)
downloadopensim-SC_OLD-e77fafe12d622ba7ce251b1c686fc6fb5fd9579a.zip
opensim-SC_OLD-e77fafe12d622ba7ce251b1c686fc6fb5fd9579a.tar.gz
opensim-SC_OLD-e77fafe12d622ba7ce251b1c686fc6fb5fd9579a.tar.bz2
opensim-SC_OLD-e77fafe12d622ba7ce251b1c686fc6fb5fd9579a.tar.xz
*test* send attachments in sync, resend avatar at end
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 6811546..fe9b1bb 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -1905,7 +1905,15 @@ namespace OpenSim.Region.Framework.Scenes
1905 // Resume scripts this possible should also be moved down after sending the avatar to viewer ? 1905 // Resume scripts this possible should also be moved down after sending the avatar to viewer ?
1906 foreach (SceneObjectGroup sog in attachments) 1906 foreach (SceneObjectGroup sog in attachments)
1907 { 1907 {
1908 sog.ScheduleGroupForFullUpdate(); 1908 // sog.ScheduleGroupForFullUpdate();
1909 m_scene.ForEachScenePresence(delegate(ScenePresence p)
1910 {
1911 if (ParcelHideThisAvatar && currentParcelUUID != p.currentParcelUUID && p.GodLevel < 200)
1912 return;
1913 sog.SendFullUpdateToClient(p.ControllingClient);
1914 p.ControllingClient.SendAvatarDataImmediate(this); // resend our data -> test
1915 });
1916
1909 sog.RootPart.ParentGroup.CreateScriptInstances(0, false, m_scene.DefaultScriptEngine, GetStateSource()); 1917 sog.RootPart.ParentGroup.CreateScriptInstances(0, false, m_scene.DefaultScriptEngine, GetStateSource());
1910 sog.ResumeScripts(); 1918 sog.ResumeScripts();
1911 } 1919 }