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:
Michael Cortez
2007-01-22 23:45:11 +00:00
parent ecbe10453e
commit c1c9e80a1f
2 changed files with 5 additions and 2 deletions

View File

@@ -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)