exclude selected things from viewer cache again

This commit is contained in:
UbitUmarov
2021-12-21 20:17:07 +00:00
parent 8557f31f73
commit 021756895e

View File

@@ -191,7 +191,7 @@ namespace OpenSim.Region.Framework.Scenes
get
{
// needs more exclusion ?
return(Backup && !IsTemporary && !inTransit && !UsesPhysics && !IsAttachmentCheckFull() &&
return(Backup && !IsTemporary && !inTransit && !UsesPhysics && !IsSelected && !IsAttachmentCheckFull() &&
!RootPart.Shape.MeshFlagEntry && // animations are not sent correctly for now
RootPart.KeyframeMotion == null &&
(DateTime.UtcNow.Ticks - timeLastChanged > 3000000000) //&& //3000000000 is 5min