* Updated VisualParamGenerator to generate a lot more params (from Group-1), and the AppearanceManager code to ignore non-Group-0 params

* Can cancel and re-request single image downloads now (still need to add this to multi-image downloads)
* Added a hacky re-request timer to AssetManager for image downloads (we'll see how it goes)
* Couple of tweaks to make AppearanceManager.SetPreviousAppearance() slightly more reliable
* Updated VisualParamGenerator to match what we are currently using as the VisualParam class

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1896 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-06-06 23:21:23 +00:00
parent ac312b9b78
commit c19a9ab6de
6 changed files with 489 additions and 245 deletions

View File

@@ -62,5 +62,16 @@ namespace libsecondlife
/// </summary>
public static class VisualParams
{
public static VisualParam[] Params = new VisualParam[]
public static VisualParam Find(string name, string wearable)
{
foreach (KeyValuePair<int, VisualParam> param in Params)
if (param.Value.Name == name && param.Value.Wearable == wearable)
return param.Value;
return new VisualParam();
}
public static SortedList<int, VisualParam> Params = new SortedList<int, VisualParam>();
static VisualParams()
{