Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Comment out old m_storeLocal from AssetXferUploader.

This was only used if none of new item, update item or update task item had been set.
But since all transactions go through these paths this old code is redundant.
  • Loading branch information...
commit b96a53962b86083476b78498278868ce8152ddd8 1 parent eb5bec9
@justincc justincc authored
View
12 OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs
@@ -77,7 +77,7 @@ private enum UploadState
private string m_description = String.Empty;
private bool m_dumpAssetToFile;
private string m_name = String.Empty;
- private bool m_storeLocal;
+// private bool m_storeLocal;
private uint nextPerm = 0;
private IClientAPI ourClient;
@@ -197,7 +197,7 @@ public bool HandleXferPacket(ulong xferID, uint packetID, byte[] data)
m_asset.Local = storeLocal;
m_asset.Temporary = tempFile;
- m_storeLocal = storeLocal;
+// m_storeLocal = storeLocal;
if (m_asset.Data.Length > 2)
{
@@ -249,10 +249,10 @@ protected void SendCompleteMessage()
m_transactions.RemoveXferUploader(m_transactionID);
}
- else if (m_storeLocal)
- {
- m_Scene.AssetService.Store(m_asset);
- }
+// else if (m_storeLocal)
+// {
+// m_Scene.AssetService.Store(m_asset);
+// }
}
m_log.DebugFormat(

0 comments on commit b96a539

Please sign in to comment.
Something went wrong with that request. Please try again.