aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2010-06-09 17:00:24 +0100
committerMelanie2010-06-09 17:02:01 +0100
commit1be53b58a7a4c5b7a916c777cdee891b5a6dee26 (patch)
tree28e4cd106e6aca5d184c63254ec07e9ae9bacc08 /OpenSim/Region
parentAdd the BEGIN; I had missed (diff)
downloadopensim-SC_OLD-1be53b58a7a4c5b7a916c777cdee891b5a6dee26.zip
opensim-SC_OLD-1be53b58a7a4c5b7a916c777cdee891b5a6dee26.tar.gz
opensim-SC_OLD-1be53b58a7a4c5b7a916c777cdee891b5a6dee26.tar.bz2
opensim-SC_OLD-1be53b58a7a4c5b7a916c777cdee891b5a6dee26.tar.xz
Give attachments the same priority as other avatars in BestAvatarResponsiveness
policy
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/Prioritizer.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs
index 4780cdd..7b7677b 100644
--- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs
+++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs
@@ -210,7 +210,10 @@ namespace OpenSim.Region.Framework.Scenes
210 { 210 {
211 PhysicsActor physActor = ((SceneObjectPart)entity).ParentGroup.RootPart.PhysActor; 211 PhysicsActor physActor = ((SceneObjectPart)entity).ParentGroup.RootPart.PhysActor;
212 if (physActor == null || !physActor.IsPhysical) 212 if (physActor == null || !physActor.IsPhysical)
213 priority+=100; 213 priority += 100;
214
215 if (((SceneObjectPart)entity).ParentGroup.RootPart.IsAttachment)
216 priority = 1.0;
214 } 217 }
215 return priority; 218 return priority;
216 } 219 }