mantis 8668: invalidate part VOC on lsl scale change
parent
c30cb8a9cf
commit
25b4a310f5
|
@ -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;
|
||||
|
|
|
@ -1841,6 +1841,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
tmp.Y = (float)scale.y;
|
||||
tmp.Z = (float)scale.z;
|
||||
part.Scale = tmp;
|
||||
part.ParentGroup.HasGroupChanged = true;
|
||||
part.SendFullUpdateToAllClients();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue