remove some mono compiler warnings
parent
e44ceaaea3
commit
41105948bd
|
@ -41,8 +41,8 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class AgentAssetTransactions
|
public class AgentAssetTransactions
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(
|
// private static readonly ILog m_log = LogManager.GetLogger(
|
||||||
MethodBase.GetCurrentMethod().DeclaringType);
|
// MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
// Fields
|
// Fields
|
||||||
private bool m_dumpAssetsToFile;
|
private bool m_dumpAssetsToFile;
|
||||||
|
|
|
@ -49,8 +49,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets
|
||||||
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
|
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
|
||||||
public class GetMeshModule : INonSharedRegionModule
|
public class GetMeshModule : INonSharedRegionModule
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log =
|
// private static readonly ILog m_log =
|
||||||
LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
private Scene m_scene;
|
private Scene m_scene;
|
||||||
private IAssetService m_assetService;
|
private IAssetService m_assetService;
|
||||||
|
|
||||||
|
|
|
@ -50,8 +50,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets
|
||||||
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
|
[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
|
||||||
public class NewFileAgentInventoryVariablePriceModule : INonSharedRegionModule
|
public class NewFileAgentInventoryVariablePriceModule : INonSharedRegionModule
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log =
|
// private static readonly ILog m_log =
|
||||||
LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
private Scene m_scene;
|
private Scene m_scene;
|
||||||
private IAssetService m_assetService;
|
private IAssetService m_assetService;
|
||||||
private bool m_dumpAssetsToFile = false;
|
private bool m_dumpAssetsToFile = false;
|
||||||
|
|
|
@ -43,8 +43,9 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps
|
||||||
{
|
{
|
||||||
public class ObjectAdd : IRegionModule
|
public class ObjectAdd : IRegionModule
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log =
|
// private static readonly ILog m_log =
|
||||||
LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
private Scene m_scene;
|
private Scene m_scene;
|
||||||
#region IRegionModule Members
|
#region IRegionModule Members
|
||||||
|
|
||||||
|
|
|
@ -174,7 +174,7 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps
|
||||||
Vector3 pos = avatar.AbsolutePosition + (Vector3.UnitX * avatar.Rotation);
|
Vector3 pos = avatar.AbsolutePosition + (Vector3.UnitX * avatar.Rotation);
|
||||||
Quaternion rot = Quaternion.Identity;
|
Quaternion rot = Quaternion.Identity;
|
||||||
Vector3 rootpos = Vector3.Zero;
|
Vector3 rootpos = Vector3.Zero;
|
||||||
Quaternion rootrot = Quaternion.Identity;
|
// Quaternion rootrot = Quaternion.Identity;
|
||||||
|
|
||||||
SceneObjectGroup rootGroup = null;
|
SceneObjectGroup rootGroup = null;
|
||||||
SceneObjectGroup[] allparts = new SceneObjectGroup[message.Objects.Length];
|
SceneObjectGroup[] allparts = new SceneObjectGroup[message.Objects.Length];
|
||||||
|
@ -186,11 +186,9 @@ namespace OpenSim.Region.CoreModules.Avatar.ObjectCaps
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
{
|
{
|
||||||
rootpos = obj.Position;
|
rootpos = obj.Position;
|
||||||
rootrot = obj.Rotation;
|
// rootrot = obj.Rotation;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Combine the extraparams data into it's ugly blob again....
|
// Combine the extraparams data into it's ugly blob again....
|
||||||
//int bytelength = 0;
|
//int bytelength = 0;
|
||||||
//for (int extparams = 0; extparams < obj.ExtraParams.Length; extparams++)
|
//for (int extparams = 0; extparams < obj.ExtraParams.Length; extparams++)
|
||||||
|
|
|
@ -767,6 +767,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
LookupUUIDS icon = (LookupUUIDS)iar.AsyncState;
|
LookupUUIDS icon = (LookupUUIDS)iar.AsyncState;
|
||||||
icon.EndInvoke(iar);
|
icon.EndInvoke(iar);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void LookupUUID(List<UUID> uuidLst)
|
private void LookupUUID(List<UUID> uuidLst)
|
||||||
{
|
{
|
||||||
LookupUUIDS d = LookupUUIDsAsync;
|
LookupUUIDS d = LookupUUIDsAsync;
|
||||||
|
@ -775,6 +776,7 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
LookupUUIDSCompleted,
|
LookupUUIDSCompleted,
|
||||||
d);
|
d);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void LookupUUIDsAsync(List<UUID> uuidLst)
|
private void LookupUUIDsAsync(List<UUID> uuidLst)
|
||||||
{
|
{
|
||||||
UUID[] uuidarr;
|
UUID[] uuidarr;
|
||||||
|
@ -789,12 +791,12 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
// string lookupname = m_scene.CommsManager.UUIDNameRequestString(uuidarr[i]);
|
// string lookupname = m_scene.CommsManager.UUIDNameRequestString(uuidarr[i]);
|
||||||
|
|
||||||
IUserManagement userManager = m_scene.RequestModuleInterface<IUserManagement>();
|
IUserManagement userManager = m_scene.RequestModuleInterface<IUserManagement>();
|
||||||
string userName = "Unkown User";
|
|
||||||
if (userManager != null)
|
if (userManager != null)
|
||||||
userName = userManager.GetUserName(uuidarr[i]);
|
userManager.GetUserName(uuidarr[i]);
|
||||||
|
|
||||||
// we drop it. It gets cached though... so we're ready for the next request.
|
// we drop it. It gets cached though... so we're ready for the next request.
|
||||||
// diva commnent 11/21/2010: uh?!? wft?
|
// diva commnent 11/21/2010: uh?!? wft?
|
||||||
|
// justincc comment 21/01/2011: A side effect of userManager.GetUserName() I presume.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
|
@ -38,7 +38,7 @@ namespace OpenSim.Region.CoreModules.World.Sound
|
||||||
{
|
{
|
||||||
public class SoundModule : IRegionModule, ISoundModule
|
public class SoundModule : IRegionModule, ISoundModule
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
protected Scene m_scene;
|
protected Scene m_scene;
|
||||||
|
|
||||||
|
|
|
@ -85,9 +85,7 @@ namespace OpenSim.Region.CoreModules.World.Warp3DMap
|
||||||
public static float noise1(float arg)
|
public static float noise1(float arg)
|
||||||
{
|
{
|
||||||
int bx0, bx1;
|
int bx0, bx1;
|
||||||
float rx0, rx1, sx, t, u, v, a;
|
float rx0, rx1, sx, t, u, v;
|
||||||
|
|
||||||
a = arg;
|
|
||||||
|
|
||||||
t = arg + N;
|
t = arg + N;
|
||||||
bx0 = ((int)t) & BM;
|
bx0 = ((int)t) & BM;
|
||||||
|
|
Loading…
Reference in New Issue