diff options
author | Melanie | 2010-06-09 17:00:24 +0100 |
---|---|---|
committer | Melanie | 2010-06-09 17:00:24 +0100 |
commit | 30d3ea3d4be1bed3001e2bda5890cce183c4f388 (patch) | |
tree | 1baf61504ae5957b282c0f2fa033465eb91cd6be | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC_OLD-30d3ea3d4be1bed3001e2bda5890cce183c4f388.zip opensim-SC_OLD-30d3ea3d4be1bed3001e2bda5890cce183c4f388.tar.gz opensim-SC_OLD-30d3ea3d4be1bed3001e2bda5890cce183c4f388.tar.bz2 opensim-SC_OLD-30d3ea3d4be1bed3001e2bda5890cce183c4f388.tar.xz |
Give attachments the same priority as other avatars in BestAvatarResponsiveness
policy
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Prioritizer.cs | 5 |
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 | } |