From: Jeremy Bongio <jbongio@us.ibm.com>

House cleaning ...

Rather than using the variable name EntityList, the variable name
EntitieList was being used. Here's a patch to fix it.
0.6.0-stable
Sean Dague 2008-05-20 16:19:35 +00:00
parent 535d64b66b
commit 185eff8d0d
4 changed files with 18 additions and 18 deletions

View File

@ -1267,8 +1267,8 @@ namespace OpenSim.Region.Environment.Scenes
Dictionary<uint, SceneObjectGroup> sceneObjects = new Dictionary<uint, SceneObjectGroup>(); Dictionary<uint, SceneObjectGroup> sceneObjects = new Dictionary<uint, SceneObjectGroup>();
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent is SceneObjectGroup) if (ent is SceneObjectGroup)
{ {

View File

@ -741,9 +741,9 @@ namespace OpenSim.Region.Environment.Scenes
private SceneObjectGroup GetGroupByPrim(uint localID) private SceneObjectGroup GetGroupByPrim(uint localID)
{ {
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent is SceneObjectGroup) if (ent is SceneObjectGroup)
{ {
@ -1060,9 +1060,9 @@ namespace OpenSim.Region.Environment.Scenes
EntityBase selectedEnt = null; EntityBase selectedEnt = null;
//m_log.Info("[CLIENT]: LocalID:" + Data.ObjectLocalID.ToString()); //m_log.Info("[CLIENT]: LocalID:" + Data.ObjectLocalID.ToString());
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent.LocalId == Data.ObjectLocalID) if (ent.LocalId == Data.ObjectLocalID)
{ {

View File

@ -76,9 +76,9 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="remoteClient"></param> /// <param name="remoteClient"></param>
public void SelectPrim(uint primLocalID, IClientAPI remoteClient) public void SelectPrim(uint primLocalID, IClientAPI remoteClient)
{ {
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent is SceneObjectGroup) if (ent is SceneObjectGroup)
{ {
@ -104,9 +104,9 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="remoteClient"></param> /// <param name="remoteClient"></param>
public void DeselectPrim(uint primLocalID, IClientAPI remoteClient) public void DeselectPrim(uint primLocalID, IClientAPI remoteClient)
{ {
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent is SceneObjectGroup) if (ent is SceneObjectGroup)
{ {
@ -148,9 +148,9 @@ namespace OpenSim.Region.Environment.Scenes
public virtual void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) public virtual void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient)
{ {
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent is SceneObjectGroup) if (ent is SceneObjectGroup)
{ {
@ -183,9 +183,9 @@ namespace OpenSim.Region.Environment.Scenes
public virtual void ProcessObjectDeGrab(uint localID, IClientAPI remoteClient) public virtual void ProcessObjectDeGrab(uint localID, IClientAPI remoteClient)
{ {
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent is SceneObjectGroup) if (ent is SceneObjectGroup)
{ {

View File

@ -2762,9 +2762,9 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary> /// </summary>
public void ForceClientUpdate() public void ForceClientUpdate()
{ {
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent is SceneObjectGroup) if (ent is SceneObjectGroup)
{ {
@ -2782,9 +2782,9 @@ namespace OpenSim.Region.Environment.Scenes
{ {
Console.WriteLine("Searching for Primitive: '" + cmdparams[0] + "'"); Console.WriteLine("Searching for Primitive: '" + cmdparams[0] + "'");
List<EntityBase> EntitieList = GetEntities(); List<EntityBase> EntityList = GetEntities();
foreach (EntityBase ent in EntitieList) foreach (EntityBase ent in EntityList)
{ {
if (ent is SceneObjectGroup) if (ent is SceneObjectGroup)
{ {