Give attachments the same priority as other avatars in BestAvatarResponsiveness
policyavinationmerge
parent
6b2d2413f7
commit
30d3ea3d4b
|
@ -211,6 +211,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
PhysicsActor physActor = ((SceneObjectPart)entity).ParentGroup.RootPart.PhysActor;
|
PhysicsActor physActor = ((SceneObjectPart)entity).ParentGroup.RootPart.PhysActor;
|
||||||
if (physActor == null || !physActor.IsPhysical)
|
if (physActor == null || !physActor.IsPhysical)
|
||||||
priority += 100;
|
priority += 100;
|
||||||
|
|
||||||
|
if (((SceneObjectPart)entity).ParentGroup.RootPart.IsAttachment)
|
||||||
|
priority = 1.0;
|
||||||
}
|
}
|
||||||
return priority;
|
return priority;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue