* Caps initial connection is now asynchronous. This will fix the last remaining occasional lockup on program exit

* Fixed a lockup on exit and NullReferenceException when using ParcelInfoCommand in TestClient
* Basic (but incomplete) support for decoding foliage in CompressedUpdateHandler
* More exception handling in Login.cs
* Housekeeping in MainAvatar.cs
* Increased teleport and caps timeouts
* Added an LLVector3 * LLVector3 operator overload

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1115 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-04-13 20:02:21 +00:00
parent 8c56b9b7eb
commit 3b6bfbc1ce
7 changed files with 198 additions and 123 deletions

View File

@@ -19,6 +19,7 @@ namespace libsecondlife.TestClient
Parcels = new ParcelDownloader(testClient);
Parcels.OnParcelsDownloaded += new ParcelDownloader.ParcelsDownloadedCallback(Parcels_OnParcelsDownloaded);
testClient.Network.OnDisconnected += new NetworkManager.DisconnectedCallback(Network_OnDisconnected);
}
public override string Execute(string[] args, LLUUID fromAgentID)
@@ -28,7 +29,10 @@ namespace libsecondlife.TestClient
ParcelsDownloaded.Reset();
ParcelsDownloaded.WaitOne(20000, false);
return "Downloaded information for " + ParcelCount + " parcels in " + Client.Network.CurrentSim.Name;
if (Client.Network.CurrentSim != null)
return "Downloaded information for " + ParcelCount + " parcels in " + Client.Network.CurrentSim.Name;
else
return String.Empty;
}
void Parcels_OnParcelsDownloaded(Simulator simulator, Dictionary<int, Parcel> Parcels, int[,] map)
@@ -43,5 +47,10 @@ namespace libsecondlife.TestClient
ParcelsDownloaded.Set();
}
void Network_OnDisconnected(NetworkManager.DisconnectType reason, string message)
{
ParcelsDownloaded.Set();
}
}
}