diff options
author | gareth | 2007-03-01 01:38:41 +0000 |
---|---|---|
committer | gareth | 2007-03-01 01:38:41 +0000 |
commit | 0eabb4b98ccff663de034ac666bfcb531edb7a30 (patch) | |
tree | be42c12a9ff9ef0b72830e006943788d7e1503c2 /src/OpenSimClient.cs | |
parent | Brought in newer libsl (diff) | |
download | opensim-SC-0eabb4b98ccff663de034ac666bfcb531edb7a30.zip opensim-SC-0eabb4b98ccff663de034ac666bfcb531edb7a30.tar.gz opensim-SC-0eabb4b98ccff663de034ac666bfcb531edb7a30.tar.bz2 opensim-SC-0eabb4b98ccff663de034ac666bfcb531edb7a30.tar.xz |
Broken asset code + ObjectUpdate FIXME
Diffstat (limited to 'src/OpenSimClient.cs')
-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 | { |