diff options
| author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-06-28 12:38:43 +0300 | 
|---|---|---|
| committer | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-06-28 12:38:43 +0300 | 
| commit | 8eade6f074bf90ca914d8cb2a8f7cd58bfea7bb0 (patch) | |
| tree | f78ef562315ea6a3a4f19500badb740c35561ecb /indra | |
| parent | 4a5ffb70c448f4fdf3e937c0da07ed8cb1d976e9 (diff) | |
SL-19923 FIXED Unable to drag and drop items from Library in Gallery mode
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llinventorygallery.cpp | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp index 2a71735a53..fa50261c9b 100644 --- a/indra/newview/llinventorygallery.cpp +++ b/indra/newview/llinventorygallery.cpp @@ -36,6 +36,7 @@  #include "llinventoryfunctions.h"  #include "llinventoryicon.h"  #include "llinventorymodel.h" +#include "llinventorymodelbackgroundfetch.h"  #include "llthumbnailctrl.h"  #include "lltextbox.h"  #include "llviewerfoldertype.h" @@ -2240,6 +2241,15 @@ void LLInventoryGalleryItem::setSelected(bool value)  {      mSelected = value;      mTextBgPanel->setBackgroundVisible(value); + +    if(mSelected) +    { +        LLViewerInventoryItem* item = gInventory.getItem(mUUID); +        if(item && !item->isFinished()) +        { +            LLInventoryModelBackgroundFetch::instance().start(mUUID, false); +        } +    }  }  BOOL LLInventoryGalleryItem::handleMouseDown(S32 x, S32 y, MASK mask) | 
