aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-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);