mantis 8668: invalidate part VOC on lsl scale change

This commit is contained in:
UbitUmarov
2020-03-03 11:37:23 +00:00
parent c30cb8a9cf
commit 25b4a310f5
2 changed files with 4 additions and 0 deletions

View File

@@ -247,6 +247,9 @@ namespace OpenSim.Region.Framework.Scenes
Vector3 grppos = group.getCenterOffset();
distance = Vector3.Distance(presencePos, grppos);
distance -= bradius;
if(distance < 0)
return pqueue;
distance *= group.getAreaFactor();
if(group.IsAttachment)
distance *= 0.5f;