diff options
author | Jeff Ames | 2010-09-12 13:43:49 -0400 |
---|---|---|
committer | Jeff Ames | 2010-09-12 13:43:49 -0400 |
commit | f1f0bc23f4501ba99035283d3407ddad2b21b785 (patch) | |
tree | 2b62a244eddf18f5608405abcefa9f763ab54340 /OpenSim/Region/Framework/Scenes/Prioritizer.cs | |
parent | Add copyright headers. (diff) | |
download | opensim-SC-f1f0bc23f4501ba99035283d3407ddad2b21b785.zip opensim-SC-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.gz opensim-SC-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.bz2 opensim-SC-f1f0bc23f4501ba99035283d3407ddad2b21b785.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Prioritizer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Prioritizer.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs index 581b11c..19f8180 100644 --- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs +++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs | |||
@@ -62,7 +62,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
62 | 62 | ||
63 | /// <summary> | 63 | /// <summary> |
64 | /// This is added to the priority of all child prims, to make sure that the root prim update is sent to the | 64 | /// This is added to the priority of all child prims, to make sure that the root prim update is sent to the |
65 | /// viewer before child prim updates. | 65 | /// viewer before child prim updates. |
66 | /// The adjustment is added to child prims and subtracted from root prims, so the gap ends up | 66 | /// The adjustment is added to child prims and subtracted from root prims, so the gap ends up |
67 | /// being double. We do it both ways so that there is a still a priority delta even if the priority is already | 67 | /// being double. We do it both ways so that there is a still a priority delta even if the priority is already |
68 | /// double.MinValue or double.MaxValue. | 68 | /// double.MinValue or double.MaxValue. |
@@ -150,9 +150,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
150 | if (entity is SceneObjectPart) | 150 | if (entity is SceneObjectPart) |
151 | { | 151 | { |
152 | // Can't use Scene.GetGroupByPrim() here, since the entity may have been delete from the scene | 152 | // Can't use Scene.GetGroupByPrim() here, since the entity may have been delete from the scene |
153 | // before its scheduled update was triggered | 153 | // before its scheduled update was triggered |
154 | //entityPos = m_scene.GetGroupByPrim(entity.LocalId).AbsolutePosition; | 154 | //entityPos = m_scene.GetGroupByPrim(entity.LocalId).AbsolutePosition; |
155 | entityPos = ((SceneObjectPart)entity).ParentGroup.AbsolutePosition; | 155 | entityPos = ((SceneObjectPart)entity).ParentGroup.AbsolutePosition; |
156 | } | 156 | } |
157 | else | 157 | else |
158 | { | 158 | { |
@@ -177,11 +177,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
177 | // Use group position for child prims | 177 | // Use group position for child prims |
178 | Vector3 entityPos = entity.AbsolutePosition; | 178 | Vector3 entityPos = entity.AbsolutePosition; |
179 | if (entity is SceneObjectPart) | 179 | if (entity is SceneObjectPart) |
180 | { | 180 | { |
181 | // Can't use Scene.GetGroupByPrim() here, since the entity may have been delete from the scene | 181 | // Can't use Scene.GetGroupByPrim() here, since the entity may have been delete from the scene |
182 | // before its scheduled update was triggered | 182 | // before its scheduled update was triggered |
183 | //entityPos = m_scene.GetGroupByPrim(entity.LocalId).AbsolutePosition; | 183 | //entityPos = m_scene.GetGroupByPrim(entity.LocalId).AbsolutePosition; |
184 | entityPos = ((SceneObjectPart)entity).ParentGroup.AbsolutePosition; | 184 | entityPos = ((SceneObjectPart)entity).ParentGroup.AbsolutePosition; |
185 | } | 185 | } |
186 | else | 186 | else |
187 | { | 187 | { |