diff options
author | Melanie | 2012-05-10 00:42:10 +0100 |
---|---|---|
committer | Melanie | 2012-05-10 00:42:10 +0100 |
commit | a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a (patch) | |
tree | e14d17475f8dcf643f4153f882f92e89b869a686 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Where necessary, rename OpenSim/Services/Connectors/*.cs files to reflect the... (diff) | |
download | opensim-SC-a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a.zip opensim-SC-a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a.tar.gz opensim-SC-a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a.tar.bz2 opensim-SC-a90822f4b8ce8b10f8d38e09adf45a1e8e4ed86a.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index bb76717..b354cc0 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12109,21 +12109,24 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12109 | protected void MakeAssetRequest(TransferRequestPacket transferRequest, UUID taskID) | 12109 | protected void MakeAssetRequest(TransferRequestPacket transferRequest, UUID taskID) |
12110 | { | 12110 | { |
12111 | UUID requestID = UUID.Zero; | 12111 | UUID requestID = UUID.Zero; |
12112 | if (transferRequest.TransferInfo.SourceType == (int)SourceType.Asset) | 12112 | int sourceType = transferRequest.TransferInfo.SourceType; |
12113 | |||
12114 | if (sourceType == (int)SourceType.Asset) | ||
12113 | { | 12115 | { |
12114 | requestID = new UUID(transferRequest.TransferInfo.Params, 0); | 12116 | requestID = new UUID(transferRequest.TransferInfo.Params, 0); |
12115 | } | 12117 | } |
12116 | else if (transferRequest.TransferInfo.SourceType == (int)SourceType.SimInventoryItem) | 12118 | else if (sourceType == (int)SourceType.SimInventoryItem) |
12117 | { | 12119 | { |
12118 | requestID = new UUID(transferRequest.TransferInfo.Params, 80); | 12120 | requestID = new UUID(transferRequest.TransferInfo.Params, 80); |
12119 | } | 12121 | } |
12120 | else if (transferRequest.TransferInfo.SourceType == (int)SourceType.SimEstate) | 12122 | else if (sourceType == (int)SourceType.SimEstate) |
12121 | { | 12123 | { |
12122 | requestID = taskID; | 12124 | requestID = taskID; |
12123 | } | 12125 | } |
12124 | 12126 | ||
12125 | 12127 | // m_log.DebugFormat( | |
12126 | // m_log.DebugFormat("[CLIENT]: {0} requesting asset {1}", Name, requestID); | 12128 | // "[LLCLIENTVIEW]: Received transfer request for {0} in {1} type {2} by {3}", |
12129 | // requestID, taskID, (SourceType)sourceType, Name); | ||
12127 | 12130 | ||
12128 | 12131 | ||
12129 | //Note, the bool returned from the below function is useless since it is always false. | 12132 | //Note, the bool returned from the below function is useless since it is always false. |