Changed the AssetManager.RequestUpload function signature to more closely resemble the RequestAsset function, and added an overload to simplify the call

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1336 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-07-30 08:10:05 +00:00
parent 17ac9f88db
commit cd9b2cef2a
5 changed files with 60 additions and 67 deletions

View File

@@ -140,11 +140,9 @@ namespace SLImageUpload
cmdUpload.Enabled = false;
grpLogin.Enabled = false;
// Generate the Transaction ID and Asset ID
LLUUID transactionid = LLUUID.Random();
txtAssetID.Text = transactionid.Combine(Client.Network.SecureSessionID).ToStringHyphenated();
Assets.RequestUpload(transactionid, AssetType.Texture, UploadData, false, false, true);
LLUUID assetID;
LLUUID transactionid = Assets.RequestUpload(out assetID, AssetType.Texture, UploadData, false, false, true);
txtAssetID.Text = assetID.ToStringHyphenated();
}
}