diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-05-13 19:44:47 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-05-13 21:43:44 +0300 |
commit | 32cd3a608805264730933442b1fb8fabfb1603ea (patch) | |
tree | f4f0fe73cec116723091d738fe9a03d591b57aec | |
parent | c94e00a10ba6a61bbf5f53fdb2b1c6e345743068 (diff) |
#4071 Permit pasting links into outfits
Like it's permitted to drop them
-rw-r--r-- | indra/newview/llinventorybridge.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 279fb3ddf4..f9e9049119 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -4119,9 +4119,11 @@ void LLFolderBridge::perform_pasteFromClipboard() if (move_is_into_outfit) { bool handled = false; - if (!move_is_into_my_outfits && item && can_move_to_outfit(item, move_is_into_current_outfit)) + if (mUUID != my_outifts_id + && dest_folder->getPreferredType() == LLFolderType::FT_OUTFIT + && item + && can_move_to_outfit(item, move_is_into_current_outfit)) { - // todo: this is going to create dupplicate folders? dropToOutfit(item, move_is_into_current_outfit, cb); handled = true; } |