mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Give attachments the same priority as other avatars in BestAvatarResponsiveness
policy
This commit is contained in:
@@ -210,7 +210,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
PhysicsActor physActor = ((SceneObjectPart)entity).ParentGroup.RootPart.PhysActor;
|
||||
if (physActor == null || !physActor.IsPhysical)
|
||||
priority+=100;
|
||||
priority += 100;
|
||||
|
||||
if (((SceneObjectPart)entity).ParentGroup.RootPart.IsAttachment)
|
||||
priority = 1.0;
|
||||
}
|
||||
return priority;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user