mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
more work on texture downloading.
Refractored the TextureDownloadModule (but currently to make debugging easier, it is running as a non shared module, so this results in a instance of this module being created for each region (and a extra thread per region), this will be changed back soon. Removed the old texture handling/sending code from AssetCache. A few other small changes/fixes.
This commit is contained in:
@@ -2738,6 +2738,7 @@ namespace OpenSim.Region.ClientStack
|
||||
args.RequestedAssetID = imageRequest.RequestImage[i].Image;
|
||||
args.DiscardLevel = imageRequest.RequestImage[i].DiscardLevel;
|
||||
args.PacketNumber = imageRequest.RequestImage[i].Packet;
|
||||
args.Priority = imageRequest.RequestImage[i].DownloadPriority;
|
||||
|
||||
OnRequestTexture(this, args);
|
||||
}
|
||||
@@ -2761,7 +2762,7 @@ namespace OpenSim.Region.ClientStack
|
||||
LLUUID temp=libsecondlife.LLUUID.Combine(request.AssetBlock.TransactionID, SecureSessionId);
|
||||
OnAssetUploadRequest(this, temp,
|
||||
request.AssetBlock.TransactionID, request.AssetBlock.Type,
|
||||
request.AssetBlock.AssetData, request.AssetBlock.StoreLocal);
|
||||
request.AssetBlock.AssetData, request.AssetBlock.StoreLocal, request.AssetBlock.Tempfile);
|
||||
}
|
||||
break;
|
||||
case PacketType.RequestXfer:
|
||||
|
||||
Reference in New Issue
Block a user