* Clean up Scene.AddCapsHandler(). There was a race condition warning, but I don't think this is now relevant...

* Remove some now extraneous CAPS related messages
This commit is contained in:
Justin Clarke Casey
2008-03-24 21:21:05 +00:00
parent 2b4915ef27
commit f14c102c7a
2 changed files with 17 additions and 37 deletions

View File

@@ -536,6 +536,10 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
public void MakeRootAgent(LLVector3 pos, bool isFlying)
{
// m_log.DebugFormat(
// "[SCENEPRESENCE]: Upgrading child agent {0}, {1} to a root agent in {2}",
// Name, UUID, m_scene.RegionInfo.RegionName);
m_isChildAgent = false;
AbsolutePosition = pos;
@@ -564,6 +568,10 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
public void MakeChildAgent()
{
// m_log.DebugFormat(
// "[SCENEPRESENCE]: Downgrading child agent {0}, {1} to a root agent in {2}",
// Name, UUID, m_scene.RegionInfo.RegionName);
Velocity = new LLVector3(0, 0, 0);
m_isChildAgent = true;
m_scene.SwapRootAgentCount(true);