temp workaround on sits culling
parent
28c9725730
commit
3bc0690a7a
|
@ -5595,6 +5595,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
lock (GroupsInView)
|
||||
inviewgroups = GroupsInView.Contains(grp);
|
||||
|
||||
//temp handling of sits
|
||||
if(grp.GetSittingAvatarsCount() > 0)
|
||||
{
|
||||
if (!inviewgroups)
|
||||
GroupsNeedFullUpdate.Add(grp);
|
||||
NewGroupsInView.Add(grp);
|
||||
}
|
||||
else
|
||||
{
|
||||
Vector3 grppos = grp.getCenterOffset();
|
||||
float dpos = (grppos - mypos).LengthSquared();
|
||||
|
||||
|
@ -5612,6 +5621,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lock(GroupsInView)
|
||||
GroupsInView = NewGroupsInView;
|
||||
|
|
Loading…
Reference in New Issue