* simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly

This commit is contained in:
Justin Clarke Casey
2008-11-28 20:11:17 +00:00
parent 86b75d1617
commit dfbec673a4
9 changed files with 27 additions and 20 deletions

View File

@@ -574,12 +574,12 @@ namespace OpenSim.Region.Environment.Scenes
}
}
protected internal ScenePresence CreateAndAddScenePresence(IClientAPI client, bool child, AvatarAppearance appearance)
protected internal ScenePresence CreateAndAddChildScenePresence(IClientAPI client, AvatarAppearance appearance)
{
ScenePresence newAvatar = null;
newAvatar = new ScenePresence(client, m_parentScene, m_regInfo, appearance);
newAvatar.IsChildAgent = child;
newAvatar.IsChildAgent = true;
AddScenePresence(newAvatar);