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