Allow AssetID to be LLUUID.Zero for scripts, since the asset ID is no longer supplied when downloading inventory. This may be a problem with other assets :-(
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@873 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -270,7 +270,7 @@ namespace libsecondlife.AssetSystem
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Callback Handlers
|
||||
#region Callback Handlers (Uploading)
|
||||
|
||||
private void AssetUploadCompleteCallbackHandler(Packet packet, Simulator simulator)
|
||||
{
|
||||
@@ -320,6 +320,9 @@ namespace libsecondlife.AssetSystem
|
||||
curUploadRequest.ConfirmXferPacket(reply.XferID.ID, reply.XferID.Packet);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Callback Handlers (Downloading)
|
||||
|
||||
// Download stuff
|
||||
private void TransferInfoCallbackHandler(Packet packet, Simulator simulator)
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace libsecondlife.InventorySystem
|
||||
}
|
||||
else
|
||||
{
|
||||
if ((AssetID != null) && (AssetID != LLUUID.Zero))
|
||||
if ((AssetID != null))
|
||||
{
|
||||
AssetRequestDownload request = base.iManager.AssetManager.RequestInventoryAsset(this);
|
||||
if (request.Wait(AssetManager.DefaultTimeout) != AssetRequestDownload.RequestStatus.Success)
|
||||
|
||||
Reference in New Issue
Block a user