mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
* minor: remove warnings
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
*/
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Reflection;
|
||||
using log4net;
|
||||
//using System.Reflection;
|
||||
//using log4net;
|
||||
using OpenMetaverse;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Region.Environment.Scenes;
|
||||
@@ -37,8 +37,8 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
|
||||
{
|
||||
public class AgentAssetTransactionsManager
|
||||
{
|
||||
private static readonly ILog m_log
|
||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
//private static readonly ILog m_log
|
||||
// = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||
|
||||
/// <summary>
|
||||
/// Each agent has its own singleton collection of transactions
|
||||
|
||||
@@ -55,7 +55,6 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
|
||||
private IClientAPI ourClient;
|
||||
private UUID TransactionID = UUID.Zero;
|
||||
private sbyte type = 0;
|
||||
private bool UploadComplete;
|
||||
private byte wearableType = 0;
|
||||
public ulong XferID;
|
||||
|
||||
@@ -140,15 +139,12 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction
|
||||
|
||||
protected void RequestStartXfer()
|
||||
{
|
||||
UploadComplete = false;
|
||||
XferID = Util.GetNextXferID();
|
||||
ourClient.SendXferRequest(XferID, m_asset.Type, m_asset.FullID, 0, new byte[0]);
|
||||
}
|
||||
|
||||
protected void SendCompleteMessage()
|
||||
{
|
||||
UploadComplete = true;
|
||||
|
||||
ourClient.SendAssetUploadCompleteMessage(m_asset.Type, true, m_asset.FullID);
|
||||
|
||||
m_finished = true;
|
||||
|
||||
@@ -140,10 +140,10 @@ namespace OpenSim.Region.Environment.Modules
|
||||
//m_log.Debug("[WIND]:Regenerating...");
|
||||
GenWindPos(); // Generate shared values once
|
||||
|
||||
int spotxp = 0;
|
||||
int spotyp = 0;
|
||||
int spotxm = 0;
|
||||
int spotym = 0;
|
||||
//int spotxp = 0;
|
||||
//int spotyp = 0;
|
||||
//int spotxm = 0;
|
||||
//int spotym = 0;
|
||||
List<ScenePresence> avatars = m_scene.GetAvatars();
|
||||
foreach (ScenePresence avatar in avatars)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user