diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-03-23 21:13:30 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-03-23 21:13:39 +0200 |
commit | 04501955c7d0cd19d13ac1374f6f06e944f6ea61 (patch) | |
tree | 214587cac52a0e420fa025ac7f5bedcb4d93299f /indra/newview/llinventorymodel.cpp | |
parent | 6172945775790757af827dfb88251875b0dd446f (diff) |
SL-19108 Disable "Image" button for task inventories
Thumbnails are not supported for task inventories yet
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r-- | indra/newview/llinventorymodel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index b833571ee9..6d9142cc5c 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -3448,6 +3448,10 @@ void LLInventoryModel::processUpdateCreateInventoryItem(LLMessageSystem* msg, vo msg->getU32Fast(_PREHASH_InventoryData, _PREHASH_CallbackID, callback_id); gInventoryCallbacks.fire(callback_id, item_id); + + // todo: instead of unpacking message fully, + // grab only an item_id, then fetch via AIS + AISAPI::FetchItem(item_id, AISAPI::INVENTORY); } } |