limit max number of attachments to 38. All can be on same point

This commit is contained in:
UbitUmarov
2019-11-13 18:44:58 +00:00
parent 2828aa3e9b
commit 5d2ffdc35b
7 changed files with 101 additions and 84 deletions

View File

@@ -53,7 +53,6 @@ namespace OpenSim.Region.Framework.Interfaces
/// All add and remove attachment operations must synchronize on this for the lifetime of their operations.
/// </remarks>
Object AttachmentsSyncLock { get; }
int MaxNumberAttachments { get; }
int GetAttachmentsCount();
/// <summary>
/// The scene objects attached to this avatar.

View File

@@ -78,8 +78,6 @@ namespace OpenSim.Region.Framework.Scenes
{
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public int MaxNumberAttachments { get; } = 38; // per viewers limit
// ~ScenePresence()
// {
// m_log.DebugFormat("[SCENE PRESENCE]: Destructor called on {0}", Name);