From 185eff8d0d588161c301d868fc31c9f0177ba945 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 20 May 2008 16:19:35 +0000 Subject: From: Jeremy Bongio House cleaning ... Rather than using the variable name EntityList, the variable name EntitieList was being used. Here's a patch to fix it. --- OpenSim/Region/Environment/Scenes/InnerScene.cs | 4 ++-- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 8 ++++---- .../Region/Environment/Scenes/Scene.PacketHandlers.cs | 16 ++++++++-------- OpenSim/Region/Environment/Scenes/Scene.cs | 8 ++++---- 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index 7a460a2..62055d8 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -1267,8 +1267,8 @@ namespace OpenSim.Region.Environment.Scenes Dictionary sceneObjects = new Dictionary(); - List EntitieList = GetEntities(); - foreach (EntityBase ent in EntitieList) + List EntityList = GetEntities(); + foreach (EntityBase ent in EntityList) { if (ent is SceneObjectGroup) { diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 53ae28f..4f65beb 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -741,9 +741,9 @@ namespace OpenSim.Region.Environment.Scenes private SceneObjectGroup GetGroupByPrim(uint localID) { - List EntitieList = GetEntities(); + List EntityList = GetEntities(); - foreach (EntityBase ent in EntitieList) + foreach (EntityBase ent in EntityList) { if (ent is SceneObjectGroup) { @@ -1060,9 +1060,9 @@ namespace OpenSim.Region.Environment.Scenes EntityBase selectedEnt = null; //m_log.Info("[CLIENT]: LocalID:" + Data.ObjectLocalID.ToString()); - List EntitieList = GetEntities(); + List EntityList = GetEntities(); - foreach (EntityBase ent in EntitieList) + foreach (EntityBase ent in EntityList) { if (ent.LocalId == Data.ObjectLocalID) { diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index b2f1dec..2facf68 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs @@ -76,9 +76,9 @@ namespace OpenSim.Region.Environment.Scenes /// public void SelectPrim(uint primLocalID, IClientAPI remoteClient) { - List EntitieList = GetEntities(); + List EntityList = GetEntities(); - foreach (EntityBase ent in EntitieList) + foreach (EntityBase ent in EntityList) { if (ent is SceneObjectGroup) { @@ -104,9 +104,9 @@ namespace OpenSim.Region.Environment.Scenes /// public void DeselectPrim(uint primLocalID, IClientAPI remoteClient) { - List EntitieList = GetEntities(); + List EntityList = GetEntities(); - foreach (EntityBase ent in EntitieList) + foreach (EntityBase ent in EntityList) { if (ent is SceneObjectGroup) { @@ -148,9 +148,9 @@ namespace OpenSim.Region.Environment.Scenes public virtual void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) { - List EntitieList = GetEntities(); + List EntityList = GetEntities(); - foreach (EntityBase ent in EntitieList) + foreach (EntityBase ent in EntityList) { if (ent is SceneObjectGroup) { @@ -183,9 +183,9 @@ namespace OpenSim.Region.Environment.Scenes public virtual void ProcessObjectDeGrab(uint localID, IClientAPI remoteClient) { - List EntitieList = GetEntities(); + List EntityList = GetEntities(); - foreach (EntityBase ent in EntitieList) + foreach (EntityBase ent in EntityList) { if (ent is SceneObjectGroup) { diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index b2d45d1..56d114c 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -2762,9 +2762,9 @@ namespace OpenSim.Region.Environment.Scenes /// public void ForceClientUpdate() { - List EntitieList = GetEntities(); + List EntityList = GetEntities(); - foreach (EntityBase ent in EntitieList) + foreach (EntityBase ent in EntityList) { if (ent is SceneObjectGroup) { @@ -2782,9 +2782,9 @@ namespace OpenSim.Region.Environment.Scenes { Console.WriteLine("Searching for Primitive: '" + cmdparams[0] + "'"); - List EntitieList = GetEntities(); + List EntityList = GetEntities(); - foreach (EntityBase ent in EntitieList) + foreach (EntityBase ent in EntityList) { if (ent is SceneObjectGroup) { -- cgit v1.1