Formatting cleanup. Fix some compiler warnings.
parent
0a85d1d767
commit
1123a326ab
|
@ -40,9 +40,6 @@ namespace OpenSim.Region.Communications.Hypergrid
|
||||||
{
|
{
|
||||||
public class HGCommunicationsGridMode : CommunicationsManager // CommunicationsOGS1
|
public class HGCommunicationsGridMode : CommunicationsManager // CommunicationsOGS1
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log
|
|
||||||
= LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
|
||||||
|
|
||||||
IHyperlink m_osw = null;
|
IHyperlink m_osw = null;
|
||||||
public IHyperlink HGServices
|
public IHyperlink HGServices
|
||||||
{
|
{
|
||||||
|
|
|
@ -429,7 +429,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
private RequestParcelPrimCountUpdate handlerRequestParcelPrimCountUpdate = null;
|
private RequestParcelPrimCountUpdate handlerRequestParcelPrimCountUpdate = null;
|
||||||
private ParcelPrimCountTainted handlerParcelPrimCountTainted = null;
|
private ParcelPrimCountTainted handlerParcelPrimCountTainted = null;
|
||||||
private ObjectBeingRemovedFromScene handlerObjectBeingRemovedFromScene = null;
|
private ObjectBeingRemovedFromScene handlerObjectBeingRemovedFromScene = null;
|
||||||
private ScriptTimerEvent handlerScriptTimerEvent = null;
|
// TODO: unused: private ScriptTimerEvent handlerScriptTimerEvent = null;
|
||||||
private EstateToolsSunUpdate handlerEstateToolsSunUpdate = null;
|
private EstateToolsSunUpdate handlerEstateToolsSunUpdate = null;
|
||||||
|
|
||||||
private ScriptColliding handlerCollidingStart = null;
|
private ScriptColliding handlerCollidingStart = null;
|
||||||
|
|
|
@ -1098,30 +1098,29 @@ if (m_shape != null) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handleTimerAccounting(uint localID, double interval)
|
// TODO: unused:
|
||||||
{
|
// private void handleTimerAccounting(uint localID, double interval)
|
||||||
if (localID == LocalId)
|
// {
|
||||||
{
|
// if (localID == LocalId)
|
||||||
|
// {
|
||||||
float sec = (float)interval;
|
// float sec = (float)interval;
|
||||||
if (m_parentGroup != null)
|
// if (m_parentGroup != null)
|
||||||
{
|
// {
|
||||||
if (sec == 0)
|
// if (sec == 0)
|
||||||
{
|
// {
|
||||||
if (m_parentGroup.scriptScore + 0.001f >= float.MaxValue - 0.001)
|
// if (m_parentGroup.scriptScore + 0.001f >= float.MaxValue - 0.001)
|
||||||
m_parentGroup.scriptScore = 0;
|
// m_parentGroup.scriptScore = 0;
|
||||||
|
//
|
||||||
m_parentGroup.scriptScore += 0.001f;
|
// m_parentGroup.scriptScore += 0.001f;
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
if (m_parentGroup.scriptScore + (0.001f / sec) >= float.MaxValue - (0.001f / sec))
|
// if (m_parentGroup.scriptScore + (0.001f / sec) >= float.MaxValue - (0.001f / sec))
|
||||||
m_parentGroup.scriptScore = 0;
|
// m_parentGroup.scriptScore = 0;
|
||||||
m_parentGroup.scriptScore += (0.001f / sec);
|
// m_parentGroup.scriptScore += (0.001f / sec);
|
||||||
}
|
// }
|
||||||
|
// }
|
||||||
}
|
// }
|
||||||
}
|
|
||||||
|
|
||||||
#endregion Private Methods
|
#endregion Private Methods
|
||||||
|
|
||||||
|
@ -1248,7 +1247,6 @@ if (m_shape != null) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// hook to the physics scene to apply angular impulse
|
/// hook to the physics scene to apply angular impulse
|
||||||
/// This is sent up to the group, which then finds the root prim
|
/// This is sent up to the group, which then finds the root prim
|
||||||
|
@ -1809,7 +1807,6 @@ if (m_shape != null) {
|
||||||
m_parentGroup.SetHoverHeight(0f, PIDHoverType.Ground, 0f);
|
m_parentGroup.SetHoverHeight(0f, PIDHoverType.Ground, 0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public virtual void OnGrab(Vector3 offsetPos, IClientAPI remoteClient)
|
public virtual void OnGrab(Vector3 offsetPos, IClientAPI remoteClient)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -304,12 +304,10 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
public d.Vector3 xyz = new d.Vector3(128.1640f, 128.3079f, 25.7600f);
|
public d.Vector3 xyz = new d.Vector3(128.1640f, 128.3079f, 25.7600f);
|
||||||
public d.Vector3 hpr = new d.Vector3(125.5000f, -17.0000f, 0.0000f);
|
public d.Vector3 hpr = new d.Vector3(125.5000f, -17.0000f, 0.0000f);
|
||||||
|
|
||||||
private uint heightmapWidth = m_regionWidth + 1;
|
// TODO: unused: private uint heightmapWidth = m_regionWidth + 1;
|
||||||
private uint heightmapHeight = m_regionHeight + 1;
|
// TODO: unused: private uint heightmapHeight = m_regionHeight + 1;
|
||||||
|
// TODO: unused: private uint heightmapWidthSamples;
|
||||||
private uint heightmapWidthSamples;
|
// TODO: unused: private uint heightmapHeightSamples;
|
||||||
|
|
||||||
private uint heightmapHeightSamples;
|
|
||||||
|
|
||||||
private volatile int m_global_contactcount = 0;
|
private volatile int m_global_contactcount = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue