diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index a9d8408136..2f15994323 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -5202,9 +5202,9 @@ Label_GroupsDone: #region SceneGraph wrapper methods - public void SwapRootAgentCount(bool rootChildChildRootTF, bool isnpc) + public void SwapRootAgentCount(bool direction_ChildToRoot, bool isnpc) { - m_sceneGraph.SwapRootChildAgent(rootChildChildRootTF, isnpc); + m_sceneGraph.SwapRootChildAgent(direction_ChildToRoot, isnpc); } public void AddPhysicalPrim(int num) diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index dd1a283f04..9997f9b243 100755 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs @@ -786,9 +786,9 @@ namespace OpenSim.Region.Framework.Scenes } } - protected internal void SwapRootChildAgent(bool direction_RC_CR_T_F, bool isnpc = false) + protected internal void SwapRootChildAgent(bool direction_ChildToRoot, bool isnpc = false) { - if (direction_RC_CR_T_F) + if (direction_ChildToRoot) { --m_numRootAgents; if(isnpc)