* BakeLayer.FinalData is public now

* Added baked texture uploading support to Utilities.AppearanceManager

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1004 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-02-23 02:23:30 +00:00
parent 636a13f997
commit e1157504ac
2 changed files with 159 additions and 43 deletions

View File

@@ -61,6 +61,8 @@ namespace libsecondlife
/// <summary>Maximum number of wearables for any baked layer</summary>
public const int WEARABLES_PER_LAYER = 7;
/// <summary>Final compressed JPEG2000 data</summary>
public byte[] FinalData = new byte[0];
/// <summary>Whether this bake is complete or not</summary>
public bool Finished = false;
@@ -74,8 +76,6 @@ namespace libsecondlife
protected Bitmap Scratchpad;
/// <summary>List of textures sorted by their baking order</summary>
protected SortedList<BakeOrder, byte[]> Textures = new SortedList<BakeOrder, byte[]>(WEARABLES_PER_LAYER);
/// <summary>Final compressed JPEG2000 data</summary>
protected byte[] FinalData = new byte[0];
/// <summary>Width of the final baked image and scratchpad</summary>
protected int BakeWidth = 512;
/// <summary>Height of the final baked image and scratchpad</summary>