Adding --gettextures command line to TestClient to enable automatic texture downloading. "textures [on/off]" will also globally enable/disable texture downloading

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2287 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-10-09 18:04:06 +00:00
parent 96f66d4b13
commit 4d30c30b16
3 changed files with 14 additions and 7 deletions

View File

@@ -42,19 +42,20 @@ namespace OpenMetaverse.TestClient
public Dictionary<Simulator, Dictionary<uint, Primitive>> SimPrims = new Dictionary<Simulator, Dictionary<uint, Primitive>>();
public bool Running = true;
public bool GetTextures = false;
string version = "1.0.0";
/// <summary>
///
/// </summary>
/// <param name="accounts"></param>
public ClientManager(List<LoginDetails> accounts)
public ClientManager(List<LoginDetails> accounts, bool getTextures)
{
foreach (LoginDetails account in accounts)
Login(account);
}
public ClientManager(List<LoginDetails> accounts, string s)
public ClientManager(List<LoginDetails> accounts, string s, bool getTextures)
{
char sep = '/';
string[] startbits = s.Split(sep);