mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 18:25:33 +08:00
minor refactor
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user