diff options
Diffstat (limited to '')
-rw-r--r-- | src/OpenSimClient.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/OpenSimClient.cs b/src/OpenSimClient.cs index af4ce0e..8f07065 100644 --- a/src/OpenSimClient.cs +++ b/src/OpenSimClient.cs | |||
@@ -137,6 +137,7 @@ namespace OpenSim | |||
137 | break; | 137 | break; |
138 | case PacketType.RegionHandshakeReply: | 138 | case PacketType.RegionHandshakeReply: |
139 | OpenSim_Main.local_world.SendLayerData(this); | 139 | OpenSim_Main.local_world.SendLayerData(this); |
140 | ClientAvatar.SendInitialPosition(); | ||
140 | break; | 141 | break; |
141 | case PacketType.AgentWearablesRequest: | 142 | case PacketType.AgentWearablesRequest: |
142 | ClientAvatar.SendInitialAppearance(); | 143 | ClientAvatar.SendInitialAppearance(); |
@@ -147,7 +148,6 @@ namespace OpenSim | |||
147 | TransferRequestPacket transfer = (TransferRequestPacket)Pack; | 148 | TransferRequestPacket transfer = (TransferRequestPacket)Pack; |
148 | AssetRequests.Enqueue(transfer); | 149 | AssetRequests.Enqueue(transfer); |
149 | Thread AssetLoaderThread = new Thread(new ThreadStart(AssetLoader)); | 150 | Thread AssetLoaderThread = new Thread(new ThreadStart(AssetLoader)); |
150 | AssetLoaderThread.IsBackground = true; | ||
151 | AssetLoaderThread.Start(); | 151 | AssetLoaderThread.Start(); |
152 | break; | 152 | break; |
153 | } | 153 | } |
@@ -210,7 +210,8 @@ namespace OpenSim | |||
210 | 210 | ||
211 | private void AckTimer_Elapsed(object sender, ElapsedEventArgs ea) | 211 | private void AckTimer_Elapsed(object sender, ElapsedEventArgs ea) |
212 | { | 212 | { |
213 | SendAcks(); ResendUnacked(); | 213 | SendAcks(); |
214 | ResendUnacked(); | ||
214 | } | 215 | } |
215 | 216 | ||
216 | public void ProcessOutPacket(Packet Pack) { | 217 | public void ProcessOutPacket(Packet Pack) { |
@@ -230,7 +231,7 @@ namespace OpenSim | |||
230 | Pack.Header.Sequence = Sequence; | 231 | Pack.Header.Sequence = Sequence; |
231 | } | 232 | } |
232 | 233 | ||
233 | if (Pack.Header.Reliable) | 234 | if (Pack.Header.Reliable) //DIRTY HACK |
234 | { | 235 | { |
235 | lock (NeedAck) | 236 | lock (NeedAck) |
236 | { | 237 | { |