From a99f09df92c7df148189a6d4dea44319e66c96f7 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 15 Aug 2021 19:57:23 +0100 Subject: [PATCH] duhhh argument name is direction_RootToChild not the oposite (just a rename to keep coerency with code logic) --- OpenSim/Region/Framework/Scenes/Scene.cs | 4 ++-- OpenSim/Region/Framework/Scenes/SceneGraph.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3e30ca00a7..8709957a5c 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 direction_ChildToRoot, bool isnpc) + public void SwapRootAgentCount(bool direction_RoottoChild, bool isnpc) { - m_sceneGraph.SwapRootChildAgent(direction_ChildToRoot, isnpc); + m_sceneGraph.SwapRootChildAgent(direction_RoottoChild, isnpc); } public void AddPhysicalPrim(int num) diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 9997f9b243..fd4caae97b 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_ChildToRoot, bool isnpc = false) + protected internal void SwapRootChildAgent(bool direction_RootToChild, bool isnpc = false) { - if (direction_ChildToRoot) + if (direction_RootToChild) { --m_numRootAgents; if(isnpc)