mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
duhhh argument name is direction_RootToChild not the oposite (just a rename to keep coerency with code logic)
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user