mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
mantis 8668: invalidate part VOC on lsl scale change
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user