diff options
author | brad kittenbrink <brad@lindenlab.com> | 2010-11-02 19:02:49 -0700 |
---|---|---|
committer | brad kittenbrink <brad@lindenlab.com> | 2010-11-02 19:02:49 -0700 |
commit | 6a9e70053beaa0fb936482f5594137a8bcdf2f1e (patch) | |
tree | 9f6a44825ed0886807c4b38d9a92188261bbaf25 /indra/newview/llplacesinventorypanel.cpp | |
parent | 4902a2752e6ee5dfd47be3d94955f88bf73bf5d8 (diff) | |
parent | accbddaeadeec7221c9244bf1c0245b8ccbd12bc (diff) |
Merge
Diffstat (limited to 'indra/newview/llplacesinventorypanel.cpp')
-rw-r--r-- | indra/newview/llplacesinventorypanel.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/indra/newview/llplacesinventorypanel.cpp b/indra/newview/llplacesinventorypanel.cpp index 408270a1a0..29e262199e 100644 --- a/indra/newview/llplacesinventorypanel.cpp +++ b/indra/newview/llplacesinventorypanel.cpp @@ -205,24 +205,6 @@ BOOL LLPlacesFolderView::handleRightMouseDown(S32 x, S32 y, MASK mask) return LLFolderView::handleRightMouseDown(x, y, mask); } -BOOL LLPlacesFolderView::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, - EDragAndDropType cargo_type, - void* cargo_data, - EAcceptance* accept, - std::string& tooltip_msg) -{ - // Don't accept anything except landmarks and folders to be dropped - // in places folder view. See STORM-296. - if (cargo_type != DAD_LANDMARK && cargo_type != DAD_CATEGORY) - { - *accept = ACCEPT_NO; - return FALSE; - } - - return LLFolderView::handleDragAndDrop(x, y, mask, drop, cargo_type, cargo_data, - accept, tooltip_msg); -} - void LLPlacesFolderView::setupMenuHandle(LLInventoryType::EType asset_type, LLHandle<LLView> menu_handle) { mMenuHandlesByInventoryType[asset_type] = menu_handle; |