mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Refactor asset handling as per Ubit's suggestion
This commit is contained in:
@@ -113,8 +113,8 @@ namespace OpenSim.Framework
|
||||
{
|
||||
if (dataCache.Check(item.TextureID.ToString()))
|
||||
{
|
||||
bool negative;
|
||||
AssetBase assetItem = dataCache.Get(item.TextureID.ToString(), out negative);
|
||||
AssetBase assetItem;
|
||||
dataCache.Get(item.TextureID.ToString(), out assetItem);
|
||||
if (assetItem != null)
|
||||
{
|
||||
itemmap.Add("assetdata", OSD.FromBinary(assetItem.Data));
|
||||
|
||||
Reference in New Issue
Block a user