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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user