Change case of areUpdatesSuspended to upper case as is proper for a property

avinationmerge
Melanie 2012-08-16 01:02:20 +02:00
parent 4e5c19595c
commit b97053269b
3 changed files with 20 additions and 20 deletions

View File

@ -1793,7 +1793,7 @@ namespace OpenSim.Region.Framework.Scenes
try try
{ {
parentGroup.areUpdatesSuspended = true; parentGroup.AreUpdatesSuspended = true;
List<SceneObjectGroup> childGroups = new List<SceneObjectGroup>(); List<SceneObjectGroup> childGroups = new List<SceneObjectGroup>();
@ -1850,7 +1850,7 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectGroupsByLocalPartID[part.LocalId] = parentGroup; SceneObjectGroupsByLocalPartID[part.LocalId] = parentGroup;
} }
parentGroup.areUpdatesSuspended = false; parentGroup.AreUpdatesSuspended = false;
parentGroup.HasGroupChanged = true; parentGroup.HasGroupChanged = true;
parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true); parentGroup.ProcessBackup(m_parentScene.SimulationDataService, true);
parentGroup.ScheduleGroupForFullUpdate(); parentGroup.ScheduleGroupForFullUpdate();
@ -1896,7 +1896,7 @@ namespace OpenSim.Region.Framework.Scenes
SceneObjectGroup group = part.ParentGroup; SceneObjectGroup group = part.ParentGroup;
if (!affectedGroups.Contains(group)) if (!affectedGroups.Contains(group))
{ {
group.areUpdatesSuspended = true; group.AreUpdatesSuspended = true;
affectedGroups.Add(group); affectedGroups.Add(group);
} }
} }
@ -1922,7 +1922,7 @@ namespace OpenSim.Region.Framework.Scenes
// However, editing linked parts and unlinking may be different // However, editing linked parts and unlinking may be different
// //
SceneObjectGroup group = root.ParentGroup; SceneObjectGroup group = root.ParentGroup;
group.areUpdatesSuspended = true; group.AreUpdatesSuspended = true;
List<SceneObjectPart> newSet = new List<SceneObjectPart>(group.Parts); List<SceneObjectPart> newSet = new List<SceneObjectPart>(group.Parts);
int numChildren = newSet.Count; int numChildren = newSet.Count;
@ -1945,7 +1945,7 @@ namespace OpenSim.Region.Framework.Scenes
group.DelinkFromGroup(p, sendEventsToRemainder); group.DelinkFromGroup(p, sendEventsToRemainder);
if (numChildren > 2) if (numChildren > 2)
{ {
p.ParentGroup.areUpdatesSuspended = true; p.ParentGroup.AreUpdatesSuspended = true;
} }
else else
{ {
@ -1980,7 +1980,7 @@ namespace OpenSim.Region.Framework.Scenes
foreach (SceneObjectPart newChild in newSet) foreach (SceneObjectPart newChild in newSet)
newChild.ClearUpdateSchedule(); newChild.ClearUpdateSchedule();
newRoot.ParentGroup.areUpdatesSuspended = true; newRoot.ParentGroup.AreUpdatesSuspended = true;
LinkObjects(newRoot, newSet); LinkObjects(newRoot, newSet);
if (!affectedGroups.Contains(newRoot.ParentGroup)) if (!affectedGroups.Contains(newRoot.ParentGroup))
affectedGroups.Add(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); m_parentScene.SimulationDataService.RemoveObject(g.UUID, m_parentScene.RegionInfo.RegionID);
g.TriggerScriptChangedEvent(Changed.LINK); g.TriggerScriptChangedEvent(Changed.LINK);
g.HasGroupChanged = true; // Persist g.HasGroupChanged = true; // Persist
g.areUpdatesSuspended = false; g.AreUpdatesSuspended = false;
g.ScheduleGroupForFullUpdate(); g.ScheduleGroupForFullUpdate();
} }
} }

View File

@ -116,7 +116,7 @@ namespace OpenSim.Region.Framework.Scenes
private bool m_suspendUpdates; private bool m_suspendUpdates;
private List<ScenePresence> m_linkedAvatars = new List<ScenePresence>(); private List<ScenePresence> m_linkedAvatars = new List<ScenePresence>();
public bool areUpdatesSuspended public bool AreUpdatesSuspended
{ {
get get
{ {

View File

@ -1775,13 +1775,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
try try
{ {
parts[0].ParentGroup.areUpdatesSuspended = true; parts[0].ParentGroup.AreUpdatesSuspended = true;
foreach (SceneObjectPart part in parts) foreach (SceneObjectPart part in parts)
SetAlpha(part, alpha, face); SetAlpha(part, alpha, face);
} }
finally finally
{ {
parts[0].ParentGroup.areUpdatesSuspended = false; parts[0].ParentGroup.AreUpdatesSuspended = false;
} }
} }
} }
@ -1962,13 +1962,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
try try
{ {
parts[0].ParentGroup.areUpdatesSuspended = true; parts[0].ParentGroup.AreUpdatesSuspended = true;
foreach (SceneObjectPart part in parts) foreach (SceneObjectPart part in parts)
SetTexture(part, texture, face); SetTexture(part, texture, face);
} }
finally finally
{ {
parts[0].ParentGroup.areUpdatesSuspended = false; parts[0].ParentGroup.AreUpdatesSuspended = false;
} }
} }
ScriptSleep(200); ScriptSleep(200);
@ -3931,13 +3931,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
try try
{ {
parts[0].ParentGroup.areUpdatesSuspended = true; parts[0].ParentGroup.AreUpdatesSuspended = true;
foreach (SceneObjectPart part in parts) foreach (SceneObjectPart part in parts)
part.SetFaceColor(new Vector3((float)color.x, (float)color.y, (float)color.z), face); part.SetFaceColor(new Vector3((float)color.x, (float)color.y, (float)color.z), face);
} }
finally finally
{ {
parts[0].ParentGroup.areUpdatesSuspended = false; parts[0].ParentGroup.AreUpdatesSuspended = false;
} }
} }
} }
@ -4055,7 +4055,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
try try
{ {
parts[0].ParentGroup.areUpdatesSuspended = true; parts[0].ParentGroup.AreUpdatesSuspended = true;
foreach (SceneObjectPart part in parts) foreach (SceneObjectPart part in parts)
{ {
parentPrim.DelinkFromGroup(part.LocalId, true); parentPrim.DelinkFromGroup(part.LocalId, true);
@ -4063,7 +4063,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
finally finally
{ {
parts[0].ParentGroup.areUpdatesSuspended = false; parts[0].ParentGroup.AreUpdatesSuspended = false;
} }
} }
@ -4078,7 +4078,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
try try
{ {
parts[0].ParentGroup.areUpdatesSuspended = true; parts[0].ParentGroup.AreUpdatesSuspended = true;
foreach (SceneObjectPart part in parts) foreach (SceneObjectPart part in parts)
{ {
part.ClearUpdateSchedule(); part.ClearUpdateSchedule();
@ -4087,7 +4087,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
finally finally
{ {
parts[0].ParentGroup.areUpdatesSuspended = false; parts[0].ParentGroup.AreUpdatesSuspended = false;
} }
@ -6302,7 +6302,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
try try
{ {
parts[0].ParentGroup.areUpdatesSuspended = true; parts[0].ParentGroup.AreUpdatesSuspended = true;
foreach (var part in parts) foreach (var part in parts)
{ {
SetTextureAnim(part, mode, face, sizex, sizey, start, length, rate); SetTextureAnim(part, mode, face, sizex, sizey, start, length, rate);
@ -6310,7 +6310,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
finally finally
{ {
parts[0].ParentGroup.areUpdatesSuspended = false; parts[0].ParentGroup.AreUpdatesSuspended = false;
} }
} }
} }