mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Remove getting the object capacity from the money module. It is now set
directly from the Region Info (and the region ini file)
This commit is contained in:
committed by
Melanie
parent
dd14016885
commit
cd8bb316ea
@@ -478,8 +478,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
set { m_sceneGraph.RestorePresences = value; }
|
||||
}
|
||||
|
||||
public int objectCapacity = 45000;
|
||||
|
||||
#endregion
|
||||
|
||||
#region BinaryStats
|
||||
@@ -687,7 +685,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
StatsReporter.OnSendStatsResult += SendSimStatsPackets;
|
||||
StatsReporter.OnStatsIncorrect += m_sceneGraph.RecalculateStats;
|
||||
|
||||
StatsReporter.SetObjectCapacity(objectCapacity);
|
||||
StatsReporter.SetObjectCapacity(RegionInfo.ObjectCapacity);
|
||||
|
||||
// Old
|
||||
/*
|
||||
@@ -4119,20 +4117,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
#region Other Methods
|
||||
|
||||
public void SetObjectCapacity(int objects)
|
||||
{
|
||||
// Region specific config overrides global
|
||||
//
|
||||
if (RegionInfo.ObjectCapacity != 0)
|
||||
objects = RegionInfo.ObjectCapacity;
|
||||
|
||||
if (StatsReporter != null)
|
||||
{
|
||||
StatsReporter.SetObjectCapacity(objects);
|
||||
}
|
||||
objectCapacity = objects;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public void HandleObjectPermissionsUpdate(IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set)
|
||||
|
||||
Reference in New Issue
Block a user