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/ScriptEngine/Shared/Api | |
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 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 5d291d5..1591cb1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -14531,7 +14531,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
14531 | ret.Add(new LSL_Integer(0)); | 14531 | ret.Add(new LSL_Integer(0)); |
14532 | break; | 14532 | break; |
14533 | case ScriptBaseClass.OBJECT_ATTACHED_SLOTS_AVAILABLE: | 14533 | case ScriptBaseClass.OBJECT_ATTACHED_SLOTS_AVAILABLE: |
14534 | ret.Add(new LSL_Integer(38 - av.GetAttachmentsCount())); | 14534 | ret.Add(new LSL_Integer(Constants.MaxAgentAttachments - av.GetAttachmentsCount())); |
14535 | break; | 14535 | break; |
14536 | case ScriptBaseClass.OBJECT_CREATION_TIME: | 14536 | case ScriptBaseClass.OBJECT_CREATION_TIME: |
14537 | ret.Add(new LSL_String("")); | 14537 | ret.Add(new LSL_String("")); |