lludp textures.. do not try to decode meshes and other things ( imprudence plague at LBSA)

This commit is contained in:
UbitUmarov
2020-11-10 01:24:13 +00:00
parent 99f5787878
commit 08b06ec670
2 changed files with 4 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
// Check for missing image asset data
if (m_asset == null)
{
m_log.Warn("[J2KIMAGE]: RunUpdate() called with missing asset data (no missing image texture?). Canceling texture transfer");
//m_log.Warn("[J2KIMAGE]: RunUpdate() called with missing asset data (no missing image texture?). Canceling texture transfer");
m_currentPacket = m_stopPacket;
return;
}
@@ -415,6 +415,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (asset != null)
{
assetID = asset.FullID;
if(asset.Type != (byte)AssetType.Texture)
asset = null;
}
else if ((InventoryAccessModule != null) && (sender != InventoryAccessModule))
{