From 8cb14ab68782b8c8a10ad550a93c7626a78f3aaa Mon Sep 17 00:00:00 2001 From: Michael Cortez Date: Tue, 23 Jan 2007 00:13:07 +0000 Subject: [PATCH] Remove more LLUUID.Zero safe checks to allow downloading of Inventory where AssetID was not specified during inventory download. git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@874 52acb1d6-8a22-11de-b505-999d5b087335 --- libsecondlife-cs/InventorySystem/InventoryImage.cs | 2 +- libsecondlife-cs/InventorySystem/InventoryNotecard.cs | 2 +- libsecondlife-cs/InventorySystem/InventoryScript.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libsecondlife-cs/InventorySystem/InventoryImage.cs b/libsecondlife-cs/InventorySystem/InventoryImage.cs index c0e85574..1deef174 100644 --- a/libsecondlife-cs/InventorySystem/InventoryImage.cs +++ b/libsecondlife-cs/InventorySystem/InventoryImage.cs @@ -20,7 +20,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) diff --git a/libsecondlife-cs/InventorySystem/InventoryNotecard.cs b/libsecondlife-cs/InventorySystem/InventoryNotecard.cs index 4804eaa0..0b22a870 100644 --- a/libsecondlife-cs/InventorySystem/InventoryNotecard.cs +++ b/libsecondlife-cs/InventorySystem/InventoryNotecard.cs @@ -18,7 +18,7 @@ namespace libsecondlife.InventorySystem { return ((AssetNotecard)Asset).Body; } 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) diff --git a/libsecondlife-cs/InventorySystem/InventoryScript.cs b/libsecondlife-cs/InventorySystem/InventoryScript.cs index 82ac5367..dd354447 100644 --- a/libsecondlife-cs/InventorySystem/InventoryScript.cs +++ b/libsecondlife-cs/InventorySystem/InventoryScript.cs @@ -17,7 +17,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)