update circuit child status when it changes

master
UbitUmarov 2020-04-30 02:32:41 +01:00
parent 003b109561
commit 36d005e1cc
1 changed files with 4 additions and 0 deletions

View File

@ -1508,6 +1508,8 @@ namespace OpenSim.Region.Framework.Scenes
// recorded, which stops the input from being processed.
MovementFlag = 0;
m_scene.AuthenticateHandler.UpdateAgentChildStatus(ControllingClient.CircuitCode, false);
m_scene.EventManager.TriggerOnMakeRootAgent(this);
//m_log.DebugFormat("[MakeRootAgent] TriggerOnMakeRootAgent and done: {0}ms", Util.EnvironmentTickCountSubtract(ts));
@ -1666,6 +1668,8 @@ namespace OpenSim.Region.Framework.Scenes
SendKillTo(p);
}
});
m_scene.AuthenticateHandler.UpdateAgentChildStatus(ControllingClient.CircuitCode, true);
m_scene.EventManager.TriggerOnMakeChildAgent(this);
}