mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
allow drawdistance to change between 32 and MaxDrawDistance, configurable
value default to 256, so should have no effect. Next steps needed: reduce client udp Throttles with distance, update childreen connections with significat movement and view range changes, Make disconnect be delayed in time, make disconnects be receiving region action not sender on region changes. Allow distance less than 256 to only connect to visible regions, even none. Make this be relative to camera and not agent position or region centers as it is now.
This commit is contained in:
@@ -5765,8 +5765,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
|| (x.State != m_thisAgentUpdateArgs.State) // significant if Stats changed
|
||||
|| (qdelta1 < QDELTABody) // significant if body rotation above(below cos) threshold
|
||||
// Ignoring head rotation altogether, because it's not being used for anything interesting up the stack
|
||||
// || (qdelta2 < QDELTAHead) // significant if head rotation above(below cos) threshold
|
||||
|| (x.Far != m_thisAgentUpdateArgs.Far) // significant if far distance changed
|
||||
// || (qdelta2 < QDELTAHead) // significant if head rotation above(below cos) threshold
|
||||
|| (Math.Abs(x.Far - m_thisAgentUpdateArgs.Far) >= 32) // significant if far distance changed
|
||||
;
|
||||
//if (movementSignificant)
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user