diff options
| author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2023-11-13 10:04:50 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-13 10:04:50 -0800 |
| commit | f45d26c4cb56ef87311a751d192115459468887a (patch) | |
| tree | 754732201a3b8079e820ecf65333ba5740ad1179 /indra/newview/llinventorymodel.cpp | |
| parent | b3384a057d9556b2429a9c5847e8e1240103585a (diff) | |
| parent | a66a990165a2ade9cba26963fe0c7b4a21b9dcac (diff) | |
Merge pull request #505 from secondlife/SL-20553
SL-20553: Save material button in build floater now depends on agent inventory rather than object inventory
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 74a5442586..ca13b9eb03 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -1465,6 +1465,10 @@ U32 LLInventoryModel::updateItem(const LLViewerInventoryItem* item, U32 mask) { mask |= LLInventoryObserver::LABEL; } + if (old_item->getPermissions() != item->getPermissions()) + { + mask |= LLInventoryObserver::INTERNAL; + } old_item->copyViewerItem(item); if (update_parent_on_server) { |
