minor refactor

This commit is contained in:
Justin Clarke Casey
2007-12-22 16:45:44 +00:00
parent e52c217e44
commit ed0f8bd572
4 changed files with 13 additions and 6 deletions

View File

@@ -3106,7 +3106,7 @@ namespace OpenSim.Region.ClientStack
// Fetch landmark
LLUUID lmid = tpReq.Info.LandmarkID;
AssetBase lma = m_assetCache.GetAsset(lmid);
AssetBase lma = m_assetCache.GetAsset(lmid, false);
if (lma != null)
{
AssetLandmark lm = new AssetLandmark(lma);

View File

@@ -146,7 +146,9 @@ namespace OpenSim.Region.Environment.Scenes
if (transactions != null)
{
LLUUID assetID = libsecondlife.LLUUID.Combine(transactionID, remoteClient.SecureSessionId);
AssetBase asset = AssetCache.GetAsset(assetID);
AssetBase asset
= AssetCache.GetAsset(
assetID, (item.assetType == (int)AssetType.Texture ? true : false));
if (asset == null)
{