* ModuleLoader: Privatized some too-public fields

* Scene: Changed name from MakeAvatarPhysical to MakeRootAgent and added ForEachClient
* SceneManager: Added ForEachScene
* Worked some on appearances.
This commit is contained in:
lbsa71
2007-10-29 11:54:31 +00:00
parent 27f003b683
commit 03d49b0217
6 changed files with 85 additions and 55 deletions

View File

@@ -1134,7 +1134,7 @@ namespace OpenSim.Region.Environment.Scenes
{
if (m_scenePresences.ContainsKey(agentID))
{
m_scenePresences[agentID].MakeAvatarPhysical(position, isFlying);
m_scenePresences[agentID].MakeRootAgent(position, isFlying);
}
}
}
@@ -1570,5 +1570,13 @@ namespace OpenSim.Region.Environment.Scenes
avatar = null;
return false;
}
internal void ForEachClient( Action<IClientAPI> action )
{
foreach (ScenePresence presence in m_scenePresences.Values )
{
action(presence.ControllingClient);
}
}
}
}