diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 628921c..49e3c39 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -232,6 +232,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
232 | set { m_parentID = value; } | 232 | set { m_parentID = value; } |
233 | } | 233 | } |
234 | 234 | ||
235 | public List<ulong> KnownChildRegions | ||
236 | { | ||
237 | get { return m_KnownChildRegions; } | ||
238 | } | ||
235 | #endregion | 239 | #endregion |
236 | 240 | ||
237 | #region Constructor(s) | 241 | #region Constructor(s) |
@@ -411,6 +415,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
411 | } | 415 | } |
412 | } | 416 | } |
413 | 417 | ||
418 | public void RemoveNeighbourRegion(ulong regionHandle) | ||
419 | { | ||
420 | if (!m_KnownChildRegions.Contains(regionHandle)) | ||
421 | { | ||
422 | m_KnownChildRegions.Remove(regionHandle); | ||
423 | } | ||
424 | } | ||
414 | #endregion | 425 | #endregion |
415 | 426 | ||
416 | #region Event Handlers | 427 | #region Event Handlers |
@@ -1090,9 +1101,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1090 | public void SetWearable(int wearableId, AvatarWearable wearable) | 1101 | public void SetWearable(int wearableId, AvatarWearable wearable) |
1091 | { | 1102 | { |
1092 | m_wearables[wearableId] = wearable; | 1103 | m_wearables[wearableId] = wearable; |
1093 | m_controllingClient.SendWearables(m_wearables, m_wearablesSerial++); | 1104 | m_controllingClient.SendWearables(m_wearables, ++m_wearablesSerial); |
1094 | SendOurAppearance( m_controllingClient ); | 1105 | //m_controllingClient.SendWearables(m_wearables, m_wearablesSerial++); |
1095 | |||
1096 | } | 1106 | } |
1097 | } | 1107 | } |
1098 | } \ No newline at end of file | 1108 | } \ No newline at end of file |