* 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:
@@ -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()
|
||||
{
|
||||
Reference in New Issue
Block a user