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

@@ -186,7 +186,7 @@ namespace importprimscript
}
CurrentUpload = null;
Assets.RequestUpload(LLUUID.Random(), AssetType.Texture, jp2data, false, false, true);
LLUUID transactionID = Assets.RequestUpload(AssetType.Texture, jp2data, false, false, true);
// The textures are small, 60 seconds should be plenty
UploadEvent.WaitOne(1000 * 60, false);