aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorDiva Canto2010-09-02 16:36:43 -0700
committerDiva Canto2010-09-02 16:36:43 -0700
commit21c5377af998bdd2c6a442588195a7af4d21fa48 (patch)
tree149e6d3dbeb5b3061bd5625763dfb388a50ed47b /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentQuick fix for making global references for gatekeepers that are not domain:po... (diff)
parentRemove commented code and the comment, as the change has proven out (diff)
downloadopensim-SC_OLD-21c5377af998bdd2c6a442588195a7af4d21fa48.zip
opensim-SC_OLD-21c5377af998bdd2c6a442588195a7af4d21fa48.tar.gz
opensim-SC_OLD-21c5377af998bdd2c6a442588195a7af4d21fa48.tar.bz2
opensim-SC_OLD-21c5377af998bdd2c6a442588195a7af4d21fa48.tar.xz
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs22
1 files changed, 21 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index fbb3177..cc9355e 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2464,7 +2464,6 @@ namespace OpenSim.Region.Framework.Scenes
2464 m_controllingClient.SendAvatarDataImmediate(this); 2464 m_controllingClient.SendAvatarDataImmediate(this);
2465 2465
2466 SendInitialFullUpdateToAllClients(); 2466 SendInitialFullUpdateToAllClients();
2467 SendAppearanceToAllOtherAgents();
2468 } 2467 }
2469 2468
2470 /// <summary> 2469 /// <summary>
@@ -3383,6 +3382,27 @@ namespace OpenSim.Region.Framework.Scenes
3383 m_attachments.Add(gobj); 3382 m_attachments.Add(gobj);
3384 } 3383 }
3385 } 3384 }
3385
3386 /// <summary>
3387 /// Get the scene object attached to the given point.
3388 /// </summary>
3389 /// <param name="attachmentPoint"></param>
3390 /// <returns>Returns an empty list if there were no attachments at the point.</returns>
3391 public List<SceneObjectGroup> GetAttachments(uint attachmentPoint)
3392 {
3393 List<SceneObjectGroup> attachments = new List<SceneObjectGroup>();
3394
3395 lock (m_attachments)
3396 {
3397 foreach (SceneObjectGroup so in m_attachments)
3398 {
3399 if (attachmentPoint == so.RootPart.AttachmentPoint)
3400 attachments.Add(so);
3401 }
3402 }
3403
3404 return attachments;
3405 }
3386 3406
3387 public bool HasAttachments() 3407 public bool HasAttachments()
3388 { 3408 {