From b97053269b33c4fc733372cf44f0f16d244d87b8 Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 16 Aug 2012 01:02:20 +0200 Subject: Change case of areUpdatesSuspended to upper case as is proper for a property --- OpenSim/Region/Framework/Scenes/SceneGraph.cs | 14 ++++++------- .../Region/Framework/Scenes/SceneObjectGroup.cs | 2 +- .../Shared/Api/Implementation/LSL_Api.cs | 24 +++++++++++----------- 3 files changed, 20 insertions(+), 20 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index e0260e2..a1da5ee 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs @@ -1793,7 +1793,7 @@ namespace OpenSim.Region.Framework.Scenes try { - parentGroup.areUpdatesSuspended = true; + parentGroup.AreUpdatesSuspended = true; List childGroups = new List(); @@ -1850,7 +1850,7 @@ namespace OpenSim.Region.Framework.Scenes SceneObjectGroupsByLocalPartID[part.LocalId] = parentGroup; } - parentGroup.areUpdatesSuspended = false; + parentGroup.AreUpdatesSuspended = false; parentGroup.HasGroupChanged = true; parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true); parentGroup.ScheduleGroupForFullUpdate(); @@ -1896,7 +1896,7 @@ namespace OpenSim.Region.Framework.Scenes SceneObjectGroup group = part.ParentGroup; if (!affectedGroups.Contains(group)) { - group.areUpdatesSuspended = true; + group.AreUpdatesSuspended = true; affectedGroups.Add(group); } } @@ -1922,7 +1922,7 @@ namespace OpenSim.Region.Framework.Scenes // However, editing linked parts and unlinking may be different // SceneObjectGroup group = root.ParentGroup; - group.areUpdatesSuspended = true; + group.AreUpdatesSuspended = true; List newSet = new List(group.Parts); int numChildren = newSet.Count; @@ -1945,7 +1945,7 @@ namespace OpenSim.Region.Framework.Scenes group.DelinkFromGroup(p, sendEventsToRemainder); if (numChildren > 2) { - p.ParentGroup.areUpdatesSuspended = true; + p.ParentGroup.AreUpdatesSuspended = true; } else { @@ -1980,7 +1980,7 @@ namespace OpenSim.Region.Framework.Scenes foreach (SceneObjectPart newChild in newSet) newChild.ClearUpdateSchedule(); - newRoot.ParentGroup.areUpdatesSuspended = true; + newRoot.ParentGroup.AreUpdatesSuspended = true; LinkObjects(newRoot, newSet); if (!affectedGroups.Contains(newRoot.ParentGroup)) affectedGroups.Add(newRoot.ParentGroup); @@ -1998,7 +1998,7 @@ namespace OpenSim.Region.Framework.Scenes m_parentScene.SimulationDataService.RemoveObject(g.UUID, m_parentScene.RegionInfo.RegionID); g.TriggerScriptChangedEvent(Changed.LINK); g.HasGroupChanged = true; // Persist - g.areUpdatesSuspended = false; + g.AreUpdatesSuspended = false; g.ScheduleGroupForFullUpdate(); } } diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index d837adb..4d610f4 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -116,7 +116,7 @@ namespace OpenSim.Region.Framework.Scenes private bool m_suspendUpdates; private List m_linkedAvatars = new List(); - public bool areUpdatesSuspended + public bool AreUpdatesSuspended { get { diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5264613..0148394 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -1775,13 +1775,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { try { - parts[0].ParentGroup.areUpdatesSuspended = true; + parts[0].ParentGroup.AreUpdatesSuspended = true; foreach (SceneObjectPart part in parts) SetAlpha(part, alpha, face); } finally { - parts[0].ParentGroup.areUpdatesSuspended = false; + parts[0].ParentGroup.AreUpdatesSuspended = false; } } } @@ -1962,13 +1962,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { try { - parts[0].ParentGroup.areUpdatesSuspended = true; + parts[0].ParentGroup.AreUpdatesSuspended = true; foreach (SceneObjectPart part in parts) SetTexture(part, texture, face); } finally { - parts[0].ParentGroup.areUpdatesSuspended = false; + parts[0].ParentGroup.AreUpdatesSuspended = false; } } ScriptSleep(200); @@ -3931,13 +3931,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { try { - parts[0].ParentGroup.areUpdatesSuspended = true; + parts[0].ParentGroup.AreUpdatesSuspended = true; foreach (SceneObjectPart part in parts) part.SetFaceColor(new Vector3((float)color.x, (float)color.y, (float)color.z), face); } finally { - parts[0].ParentGroup.areUpdatesSuspended = false; + parts[0].ParentGroup.AreUpdatesSuspended = false; } } } @@ -4055,7 +4055,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { try { - parts[0].ParentGroup.areUpdatesSuspended = true; + parts[0].ParentGroup.AreUpdatesSuspended = true; foreach (SceneObjectPart part in parts) { parentPrim.DelinkFromGroup(part.LocalId, true); @@ -4063,7 +4063,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } finally { - parts[0].ParentGroup.areUpdatesSuspended = false; + parts[0].ParentGroup.AreUpdatesSuspended = false; } } @@ -4078,7 +4078,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api try { - parts[0].ParentGroup.areUpdatesSuspended = true; + parts[0].ParentGroup.AreUpdatesSuspended = true; foreach (SceneObjectPart part in parts) { part.ClearUpdateSchedule(); @@ -4087,7 +4087,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } finally { - parts[0].ParentGroup.areUpdatesSuspended = false; + parts[0].ParentGroup.AreUpdatesSuspended = false; } @@ -6302,7 +6302,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { try { - parts[0].ParentGroup.areUpdatesSuspended = true; + parts[0].ParentGroup.AreUpdatesSuspended = true; foreach (var part in parts) { SetTextureAnim(part, mode, face, sizex, sizey, start, length, rate); @@ -6310,7 +6310,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api } finally { - parts[0].ParentGroup.areUpdatesSuspended = false; + parts[0].ParentGroup.AreUpdatesSuspended = false; } } } -- cgit v1.1