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
{
parentGroup.areUpdatesSuspended = true;
parentGroup.AreUpdatesSuspended = true;
List<SceneObjectGroup> childGroups = new List<SceneObjectGroup>();
@ -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<SceneObjectPart> newSet = new List<SceneObjectPart>(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();
}
}

View File

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

View File

@ -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;
}
}
}