mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Hopefully fixed the texture uploading and the crashing when a prim with a uploaded texture on it is moved.
This commit is contained in:
@@ -281,15 +281,15 @@ namespace OpenSim
|
||||
case PacketType.AssetUploadRequest:
|
||||
//this.debug = true;
|
||||
AssetUploadRequestPacket request = (AssetUploadRequestPacket)Pack;
|
||||
Console.WriteLine(Pack.ToString());
|
||||
if (request.AssetBlock.Type == 0)
|
||||
{
|
||||
this.UploadAssets.HandleUploadPacket(request, LLUUID.Random());
|
||||
}
|
||||
else
|
||||
{
|
||||
// Console.WriteLine(Pack.ToString());
|
||||
// if (request.AssetBlock.Type == 0)
|
||||
// {
|
||||
//this.UploadAssets.HandleUploadPacket(request, LLUUID.Random());
|
||||
//}
|
||||
//else
|
||||
//{*/
|
||||
this.UploadAssets.HandleUploadPacket(request, request.AssetBlock.TransactionID.Combine(this.SecureSessionID));
|
||||
}
|
||||
//}
|
||||
break;
|
||||
case PacketType.SendXferPacket:
|
||||
Console.WriteLine(Pack.ToString());
|
||||
|
||||
Reference in New Issue
Block a user