diff options
author | Justin Clark-Casey (justincc) | 2010-02-08 19:02:20 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-02-08 19:02:20 +0000 |
commit | 00947cf2ca7a9315ae1d508507db0c95348e25ec (patch) | |
tree | b6f9168e8cb6f299c2a66288bd5094dac49ccaa7 /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | minor: log what kind of wearable cannot be found (diff) | |
download | opensim-SC_OLD-00947cf2ca7a9315ae1d508507db0c95348e25ec.zip opensim-SC_OLD-00947cf2ca7a9315ae1d508507db0c95348e25ec.tar.gz opensim-SC_OLD-00947cf2ca7a9315ae1d508507db0c95348e25ec.tar.bz2 opensim-SC_OLD-00947cf2ca7a9315ae1d508507db0c95348e25ec.tar.xz |
Add EventManager.OnIncomingSceneObject event which is triggered by an incoming scene object
Add a read-only Attachments property to ScenePresence
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e960d51..6b95624 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -104,6 +104,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
104 | } | 104 | } |
105 | protected ScenePresenceAnimator m_animator; | 105 | protected ScenePresenceAnimator m_animator; |
106 | 106 | ||
107 | /// <value> | ||
108 | /// The scene objects attached to this avatar. Do not change this list directly - use methods such as | ||
109 | /// AddAttachment() and RemoveAttachment(). Lock this list when performing any read operations upon it. | ||
110 | /// </value> | ||
111 | public List<SceneObjectGroup> Attachments | ||
112 | { | ||
113 | get { return m_attachments; } | ||
114 | } | ||
107 | protected List<SceneObjectGroup> m_attachments = new List<SceneObjectGroup>(); | 115 | protected List<SceneObjectGroup> m_attachments = new List<SceneObjectGroup>(); |
108 | 116 | ||
109 | private Dictionary<UUID, ScriptControllers> scriptedcontrols = new Dictionary<UUID, ScriptControllers>(); | 117 | private Dictionary<UUID, ScriptControllers> scriptedcontrols = new Dictionary<UUID, ScriptControllers>(); |
@@ -1105,7 +1113,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1105 | 1113 | ||
1106 | m_controllingClient.MoveAgentIntoRegion(m_regionInfo, AbsolutePosition, look); | 1114 | m_controllingClient.MoveAgentIntoRegion(m_regionInfo, AbsolutePosition, look); |
1107 | SendInitialData(); | 1115 | SendInitialData(); |
1108 | |||
1109 | } | 1116 | } |
1110 | 1117 | ||
1111 | /// <summary> | 1118 | /// <summary> |