From f1250bd291dc3fbcf375d792691a455f45727224 Mon Sep 17 00:00:00 2001 From: mingchen Date: Thu, 7 Jun 2007 01:04:07 +0000 Subject: *When avatar crosses parcel, it updates successfully in the viewer *This includes parcel name in title bar, media and music autoplay, and parcel flag icons *Yay! --- OpenSim/OpenSim.RegionServer/world/Avatar.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/OpenSim.RegionServer/world/Avatar.cs') diff --git a/OpenSim/OpenSim.RegionServer/world/Avatar.cs b/OpenSim/OpenSim.RegionServer/world/Avatar.cs index 4b921f0..30999fc 100644 --- a/OpenSim/OpenSim.RegionServer/world/Avatar.cs +++ b/OpenSim/OpenSim.RegionServer/world/Avatar.cs @@ -57,6 +57,13 @@ namespace OpenSim.world private byte[] visualParams; private AvatarWearable[] Wearables; private LLVector3 positionLastFrame = new LLVector3(0, 0, 0); + private LLVector3 positionFrameBeforeLast = new LLVector3(0, 0, 0); + + private int positionRoundedX = 0; + private int positionRoundedY = 0; + + private int positionParcelHoverLocalID = -1; //Local ID of the last parcel they were over + private int parcelUpdateSequenceIncrement = 1; private ulong m_regionHandle; //private Dictionary m_clientThreads; private string m_regionName; -- cgit v1.1