diff options
author | UbitUmarov | 2019-11-13 18:44:58 +0000 |
---|---|---|
committer | UbitUmarov | 2019-11-13 18:44:58 +0000 |
commit | 5d2ffdc35bf17188443e930f4dec8222e6b1430c (patch) | |
tree | 8c5e51907ce52c61cb218895c4dc8a4a524cc8e6 /OpenSim/Region/Framework | |
parent | Reduce Max region size to 4096m (diff) | |
download | opensim-SC-5d2ffdc35bf17188443e930f4dec8222e6b1430c.zip opensim-SC-5d2ffdc35bf17188443e930f4dec8222e6b1430c.tar.gz opensim-SC-5d2ffdc35bf17188443e930f4dec8222e6b1430c.tar.bz2 opensim-SC-5d2ffdc35bf17188443e930f4dec8222e6b1430c.tar.xz |
limit max number of attachments to 38. All can be on same point
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IScenePresence.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IScenePresence.cs b/OpenSim/Region/Framework/Interfaces/IScenePresence.cs index 412c86e..10d429d 100644 --- a/OpenSim/Region/Framework/Interfaces/IScenePresence.cs +++ b/OpenSim/Region/Framework/Interfaces/IScenePresence.cs | |||
@@ -53,7 +53,6 @@ namespace OpenSim.Region.Framework.Interfaces | |||
53 | /// All add and remove attachment operations must synchronize on this for the lifetime of their operations. | 53 | /// All add and remove attachment operations must synchronize on this for the lifetime of their operations. |
54 | /// </remarks> | 54 | /// </remarks> |
55 | Object AttachmentsSyncLock { get; } | 55 | Object AttachmentsSyncLock { get; } |
56 | int MaxNumberAttachments { get; } | ||
57 | int GetAttachmentsCount(); | 56 | int GetAttachmentsCount(); |
58 | /// <summary> | 57 | /// <summary> |
59 | /// The scene objects attached to this avatar. | 58 | /// The scene objects attached to this avatar. |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 070a924..4413d26 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -78,8 +78,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
78 | { | 78 | { |
79 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 79 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
80 | 80 | ||
81 | public int MaxNumberAttachments { get; } = 38; // per viewers limit | ||
82 | |||
83 | // ~ScenePresence() | 81 | // ~ScenePresence() |
84 | // { | 82 | // { |
85 | // m_log.DebugFormat("[SCENE PRESENCE]: Destructor called on {0}", Name); | 83 | // m_log.DebugFormat("[SCENE PRESENCE]: Destructor called on {0}", Name); |