aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-24 21:21:05 +0000
committerJustin Clarke Casey2008-03-24 21:21:05 +0000
commitf14c102c7a9aa0a5577ec9ec5ca76adc1a8f10f7 (patch)
tree8a2a2459cec9b6ff4cc0f68e5584651ddd27d860 /OpenSim/Region/Environment/Scenes/ScenePresence.cs
parentModified llGetInventoryName() so it indexes inventory in the same manner the ... (diff)
downloadopensim-SC-f14c102c7a9aa0a5577ec9ec5ca76adc1a8f10f7.zip
opensim-SC-f14c102c7a9aa0a5577ec9ec5ca76adc1a8f10f7.tar.gz
opensim-SC-f14c102c7a9aa0a5577ec9ec5ca76adc1a8f10f7.tar.bz2
opensim-SC-f14c102c7a9aa0a5577ec9ec5ca76adc1a8f10f7.tar.xz
* Clean up Scene.AddCapsHandler(). There was a race condition warning, but I don't think this is now relevant...
* Remove some now extraneous CAPS related messages
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index def7a77..df43490 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -536,6 +536,10 @@ namespace OpenSim.Region.Environment.Scenes
536 /// </summary> 536 /// </summary>
537 public void MakeRootAgent(LLVector3 pos, bool isFlying) 537 public void MakeRootAgent(LLVector3 pos, bool isFlying)
538 { 538 {
539// m_log.DebugFormat(
540// "[SCENEPRESENCE]: Upgrading child agent {0}, {1} to a root agent in {2}",
541// Name, UUID, m_scene.RegionInfo.RegionName);
542
539 m_isChildAgent = false; 543 m_isChildAgent = false;
540 544
541 AbsolutePosition = pos; 545 AbsolutePosition = pos;
@@ -564,6 +568,10 @@ namespace OpenSim.Region.Environment.Scenes
564 /// </summary> 568 /// </summary>
565 public void MakeChildAgent() 569 public void MakeChildAgent()
566 { 570 {
571// m_log.DebugFormat(
572// "[SCENEPRESENCE]: Downgrading child agent {0}, {1} to a root agent in {2}",
573// Name, UUID, m_scene.RegionInfo.RegionName);
574
567 Velocity = new LLVector3(0, 0, 0); 575 Velocity = new LLVector3(0, 0, 0);
568 m_isChildAgent = true; 576 m_isChildAgent = true;
569 m_scene.SwapRootAgentCount(true); 577 m_scene.SwapRootAgentCount(true);