diff options
author | onefang | 2019-07-20 20:24:25 +1000 |
---|---|---|
committer | onefang | 2019-07-20 20:24:25 +1000 |
commit | bdd2d59d6d97e555ad572d1ec5649697233903ab (patch) | |
tree | fc3510a76ec83e3af44daa558f8da3b154bb372e /OpenSim/Region/ScriptEngine/Shared | |
parent | Switch to using the internal offline message URL by default. (diff) | |
download | opensim-SC-bdd2d59d6d97e555ad572d1ec5649697233903ab.zip opensim-SC-bdd2d59d6d97e555ad572d1ec5649697233903ab.tar.gz opensim-SC-bdd2d59d6d97e555ad572d1ec5649697233903ab.tar.bz2 opensim-SC-bdd2d59d6d97e555ad572d1ec5649697233903ab.tar.xz |
Allow menu items longer than 24 characters once more.
I've never seen any problems with allowing this, my NPC tool does that.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 229ad1d..8141c17 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7549,16 +7549,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7549 | { | 7549 | { |
7550 | if (buttons.Data[i].ToString() == String.Empty) | 7550 | if (buttons.Data[i].ToString() == String.Empty) |
7551 | { | 7551 | { |
7552 | Error("llDialog", "Button label cannot be blank"); | 7552 | Error("llDialog", "Button label cannot be blank."); |
7553 | return; | 7553 | return; |
7554 | } | 7554 | } |
7555 | /* | ||
7556 | if (buttons.Data[i].ToString().Length > 24) | 7555 | if (buttons.Data[i].ToString().Length > 24) |
7557 | { | 7556 | { |
7558 | Error("llDialog", "Button label cannot be longer than 24 characters"); | 7557 | Error("llDialog", "Button label should not be longer than 24 characters."); |
7559 | return; | ||
7560 | } | 7558 | } |
7561 | */ | ||
7562 | buts[i] = buttons.Data[i].ToString(); | 7559 | buts[i] = buttons.Data[i].ToString(); |
7563 | } | 7560 | } |
7564 | 7561 | ||