diff options
author | Justin Clark-Casey (justincc) | 2013-09-18 23:09:38 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-09-18 23:09:38 +0100 |
commit | ddcbd4bb7d1518d0607d43e9d687faee186e9409 (patch) | |
tree | bc69f86190fafd3ebdaf86b204c2ab14a2c4aa9b /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | minor: Make log message when Scene.IncomingChildAgentDateUpdate() more explic... (diff) | |
download | opensim-SC_OLD-ddcbd4bb7d1518d0607d43e9d687faee186e9409.zip opensim-SC_OLD-ddcbd4bb7d1518d0607d43e9d687faee186e9409.tar.gz opensim-SC_OLD-ddcbd4bb7d1518d0607d43e9d687faee186e9409.tar.bz2 opensim-SC_OLD-ddcbd4bb7d1518d0607d43e9d687faee186e9409.tar.xz |
refactor: rename *ChildAgentDataUpdate() methods to *UpdateChildAgent()
verb-noun is consistent with other similar methods
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index d542e47..3e61713 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3341,7 +3341,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
3341 | 3341 | ||
3342 | #region Child Agent Updates | 3342 | #region Child Agent Updates |
3343 | 3343 | ||
3344 | public void ChildAgentDataUpdate(AgentData cAgentData) | 3344 | public void UpdateChildAgent(AgentData cAgentData) |
3345 | { | 3345 | { |
3346 | // m_log.Debug(" >>> ChildAgentDataUpdate <<< " + Scene.RegionInfo.RegionName); | 3346 | // m_log.Debug(" >>> ChildAgentDataUpdate <<< " + Scene.RegionInfo.RegionName); |
3347 | if (!IsChildAgent) | 3347 | if (!IsChildAgent) |
@@ -3351,11 +3351,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
3351 | } | 3351 | } |
3352 | 3352 | ||
3353 | private static Vector3 marker = new Vector3(-1f, -1f, -1f); | 3353 | private static Vector3 marker = new Vector3(-1f, -1f, -1f); |
3354 | |||
3354 | /// <summary> | 3355 | /// <summary> |
3355 | /// This updates important decision making data about a child agent | 3356 | /// This updates important decision making data about a child agent |
3356 | /// The main purpose is to figure out what objects to send to a child agent that's in a neighboring region | 3357 | /// The main purpose is to figure out what objects to send to a child agent that's in a neighboring region |
3357 | /// </summary> | 3358 | /// </summary> |
3358 | public void ChildAgentDataUpdate(AgentPosition cAgentData, uint tRegionX, uint tRegionY, uint rRegionX, uint rRegionY) | 3359 | public void UpdateChildAgent(AgentPosition cAgentData, uint tRegionX, uint tRegionY, uint rRegionX, uint rRegionY) |
3359 | { | 3360 | { |
3360 | if (!IsChildAgent) | 3361 | if (!IsChildAgent) |
3361 | return; | 3362 | return; |