aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-01-18 18:57:28 +0000
committerJustin Clarke Casey2008-01-18 18:57:28 +0000
commit8df4774830f4f9f46070855db2699a047250edf0 (patch)
tree030dcc60e89dfdd506b91c84941341db7a000421 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parentChange SOP.HasChanged to HasPrimChanged in preparation for further changes (diff)
downloadopensim-SC_OLD-8df4774830f4f9f46070855db2699a047250edf0.zip
opensim-SC_OLD-8df4774830f4f9f46070855db2699a047250edf0.tar.gz
opensim-SC_OLD-8df4774830f4f9f46070855db2699a047250edf0.tar.bz2
opensim-SC_OLD-8df4774830f4f9f46070855db2699a047250edf0.tar.xz
On reflection, HasGroupChanged is more appropriate
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 77841eb..be24f66 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -56,10 +56,10 @@ namespace OpenSim.Region.Environment.Scenes
56 public event PrimCountTaintedDelegate OnPrimCountTainted; 56 public event PrimCountTaintedDelegate OnPrimCountTainted;
57 57
58 /// <summary> 58 /// <summary>
59 /// Signal whether the prim's non-inventory attributes have changed 59 /// Signal whether the non-inventory attributes of any prims in the group have changed
60 /// since its last persistent backup 60 /// since the group's last persistent backup
61 /// </summary> 61 /// </summary>
62 public bool HasPrimChanged = false; 62 public bool HasGroupChanged = false;
63 63
64 private LLVector3 lastPhysGroupPos; 64 private LLVector3 lastPhysGroupPos;
65 private LLQuaternion lastPhysGroupRot; 65 private LLQuaternion lastPhysGroupRot;
@@ -732,7 +732,7 @@ namespace OpenSim.Region.Environment.Scenes
732 /// </summary> 732 /// </summary>
733 public void ScheduleGroupForFullUpdate() 733 public void ScheduleGroupForFullUpdate()
734 { 734 {
735 HasPrimChanged = true; 735 HasGroupChanged = true;
736 foreach (SceneObjectPart part in m_parts.Values) 736 foreach (SceneObjectPart part in m_parts.Values)
737 { 737 {
738 part.ScheduleFullUpdate(); 738 part.ScheduleFullUpdate();
@@ -744,7 +744,7 @@ namespace OpenSim.Region.Environment.Scenes
744 /// </summary> 744 /// </summary>
745 public void ScheduleGroupForTerseUpdate() 745 public void ScheduleGroupForTerseUpdate()
746 { 746 {
747 HasPrimChanged = true; 747 HasGroupChanged = true;
748 foreach (SceneObjectPart part in m_parts.Values) 748 foreach (SceneObjectPart part in m_parts.Values)
749 { 749 {
750 part.ScheduleTerseUpdate(); 750 part.ScheduleTerseUpdate();
@@ -756,7 +756,7 @@ namespace OpenSim.Region.Environment.Scenes
756 /// </summary> 756 /// </summary>
757 public void SendGroupFullUpdate() 757 public void SendGroupFullUpdate()
758 { 758 {
759 HasPrimChanged = true; 759 HasGroupChanged = true;
760 foreach (SceneObjectPart part in m_parts.Values) 760 foreach (SceneObjectPart part in m_parts.Values)
761 { 761 {
762 part.SendFullUpdateToAllClients(); 762 part.SendFullUpdateToAllClients();
@@ -768,7 +768,7 @@ namespace OpenSim.Region.Environment.Scenes
768 /// </summary> 768 /// </summary>
769 public void SendGroupTerseUpdate() 769 public void SendGroupTerseUpdate()
770 { 770 {
771 HasPrimChanged = true; 771 HasGroupChanged = true;
772 foreach (SceneObjectPart part in m_parts.Values) 772 foreach (SceneObjectPart part in m_parts.Values)
773 { 773 {
774 part.SendTerseUpdateToAllClients(); 774 part.SendTerseUpdateToAllClients();
@@ -1487,10 +1487,10 @@ namespace OpenSim.Region.Environment.Scenes
1487 /// <param name="datastore"></param> 1487 /// <param name="datastore"></param>
1488 public void ProcessBackup(IRegionDataStore datastore) 1488 public void ProcessBackup(IRegionDataStore datastore)
1489 { 1489 {
1490 if (HasPrimChanged) 1490 if (HasGroupChanged)
1491 { 1491 {
1492 datastore.StoreObject(this, m_scene.RegionInfo.RegionID); 1492 datastore.StoreObject(this, m_scene.RegionInfo.RegionID);
1493 HasPrimChanged = false; 1493 HasGroupChanged = false;
1494 } 1494 }
1495 } 1495 }
1496 1496
@@ -1602,7 +1602,7 @@ namespace OpenSim.Region.Environment.Scenes
1602 public void ResetChildPrimPhysicsPositions() 1602 public void ResetChildPrimPhysicsPositions()
1603 { 1603 {
1604 AbsolutePosition = AbsolutePosition; 1604 AbsolutePosition = AbsolutePosition;
1605 HasPrimChanged = false; 1605 HasGroupChanged = false;
1606 } 1606 }
1607 1607
1608 public LLUUID GetPartsFullID(uint localID) 1608 public LLUUID GetPartsFullID(uint localID)