aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltooldraganddrop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/lltooldraganddrop.cpp')
-rw-r--r--linden/indra/newview/lltooldraganddrop.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/lltooldraganddrop.cpp b/linden/indra/newview/lltooldraganddrop.cpp
index 156093a..34831a2 100644
--- a/linden/indra/newview/lltooldraganddrop.cpp
+++ b/linden/indra/newview/lltooldraganddrop.cpp
@@ -852,6 +852,12 @@ void LLToolDragAndDrop::dragOrDrop( S32 x, S32 y, MASK mask, BOOL drop,
852 { 852 {
853 LLInventoryObject* cargo = locateInventory(item, cat); 853 LLInventoryObject* cargo = locateInventory(item, cat);
854 854
855 if (!cargo)
856 {
857 handled = FALSE;
858 break;
859 }
860
855 EAcceptance item_acceptance = ACCEPT_NO; 861 EAcceptance item_acceptance = ACCEPT_NO;
856 handled = handled && root_view->handleDragAndDrop(x, y, mask, FALSE, 862 handled = handled && root_view->handleDragAndDrop(x, y, mask, FALSE,
857 mCargoTypes[mCurItemIndex], 863 mCargoTypes[mCurItemIndex],