mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Rename Meta7Windlight to LightShare
This commit is contained in:
@@ -1370,21 +1370,20 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
// part.Inventory.RemoveScriptInstances();
|
||||
|
||||
List<ScenePresence> avatars = Scene.GetScenePresences();
|
||||
for (int i = 0; i < avatars.Count; i++)
|
||||
Scene.ForEachScenePresence(delegate (ScenePresence sp)
|
||||
{
|
||||
if (avatars[i].ParentID == LocalId)
|
||||
if (sp.ParentID == LocalId)
|
||||
{
|
||||
avatars[i].StandUp();
|
||||
sp.StandUp();
|
||||
}
|
||||
|
||||
if (!silent)
|
||||
{
|
||||
part.UpdateFlag = 0;
|
||||
if (part == m_rootPart)
|
||||
avatars[i].ControllingClient.SendKillObject(m_regionHandle, part.LocalId);
|
||||
sp.ControllingClient.SendKillObject(m_regionHandle, part.LocalId);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user