Asset System: Fixing System.NullReferenceException bug

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@848 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Michael Cortez
2007-01-18 00:20:55 +00:00
parent 1c88d7b707
commit 56bf12b088
7 changed files with 40 additions and 12 deletions

View File

@@ -24,6 +24,7 @@ namespace libsecondlife.InventorySystem
{
throw new Exception("Asset (" + AssetID.ToStringHyphenated() + ") unavailable (" + request.StatusMsg + ") for " + this.Name);
}
_Asset = new AssetScript(AssetID, request.GetAssetData());
return ((AssetScript)Asset).Source;
}
}