diff options
| author | Logan Dethrow <log@lindenlab.com> | 2011-06-30 19:24:39 -0400 |
|---|---|---|
| committer | Logan Dethrow <log@lindenlab.com> | 2011-06-30 19:24:39 -0400 |
| commit | aec182e3dbc2e4c492167fc250583b9de5ec43f8 (patch) | |
| tree | c4a56b20693ac7ee4a203d0bd58a5992fdce66b8 /indra/newview/llavataractions.cpp | |
| parent | 73afcff635f3d25432167ca43ab0b82aadd6c687 (diff) | |
| parent | f07173a9689237bf2d8218600c15d6bf4d047cdc (diff) | |
Merge
Diffstat (limited to 'indra/newview/llavataractions.cpp')
| -rwxr-xr-x | indra/newview/llavataractions.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp index cbbdcb2983..955f19c82c 100755 --- a/indra/newview/llavataractions.cpp +++ b/indra/newview/llavataractions.cpp @@ -773,6 +773,10 @@ bool LLAvatarActions::canOfferTeleport(const LLUUID& id) // static bool LLAvatarActions::canOfferTeleport(const uuid_vec_t& ids) { + // We can't send more than 250 lures in a single message, so disable this + // button when there are too many id's selected. + if(ids.size() > 250) return false; + bool result = true; for (uuid_vec_t::const_iterator it = ids.begin(); it != ids.end(); ++it) { |
