* Complete rewrite of AppearanceManager. Appearance editing has not been (re)implemented yet, but the normal appearance setting is much more reliable * Added a setting (defaulted to true) for automatically setting appearance * Various baking hacks to get slightly less ugly avatars * Added baked texture uploading through CAPS in AssetManager.RequestUploadBakedTexture(). UDP fallback is not implemented yet * Added Parallel.Invoke() and overloads for all three methods that take a threadCount git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3038 52acb1d6-8a22-11de-b505-999d5b087335
26 lines
782 B
C#
26 lines
782 B
C#
using System;
|
|
using System.Threading;
|
|
using OpenMetaverse;
|
|
|
|
namespace OpenMetaverse.TestClient
|
|
{
|
|
/// <summary>
|
|
/// Set avatars current appearance to appearance last stored on simulator
|
|
/// </summary>
|
|
public class AppearanceCommand : Command
|
|
{
|
|
public AppearanceCommand(TestClient testClient)
|
|
{
|
|
Name = "appearance";
|
|
Description = "Set your current appearance to your last saved appearance. Usage: appearance [rebake]";
|
|
Category = CommandCategory.Appearance;
|
|
}
|
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
|
{
|
|
Client.Appearance.RequestSetAppearance((args.Length > 0 && args[0].Equals("rebake")));
|
|
return "Appearance sequence started";
|
|
}
|
|
}
|
|
}
|