summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobjectinventory.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2023-10-03 19:11:06 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2023-10-03 19:25:19 +0300
commitd4123ec30d9a5daa96b28f2b8a3cc36ccd7e9cb1 (patch)
treeddbaeb2e54ec30877a306eb7b355a787a56b3d32 /indra/newview/llpanelobjectinventory.cpp
parent51f904e4a7d7e5d04be09991f859bd1b26f0d7ae (diff)
parent2465470817957c8378e81ec1a7e32551fbac7b26 (diff)
Merge branch 'main' into DRTVWR-587-maint-V
# Conflicts: # indra/newview/llinventorymodel.cpp # indra/newview/llvovolume.cpp
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
-rw-r--r--indra/newview/llpanelobjectinventory.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp
index 6a82a3b35d..a3bbd00601 100644
--- a/indra/newview/llpanelobjectinventory.cpp
+++ b/indra/newview/llpanelobjectinventory.cpp
@@ -116,6 +116,7 @@ public:
virtual PermissionMask getPermissionMask() const { return PERM_NONE; }
/*virtual*/ LLFolderType::EType getPreferredType() const { return LLFolderType::FT_NONE; }
virtual const LLUUID& getUUID() const { return mUUID; }
+ virtual const LLUUID& getThumbnailUUID() const { return LLUUID::null;}
virtual time_t getCreationDate() const;
virtual void setCreationDate(time_t creation_date_utc);
@@ -124,6 +125,7 @@ public:
virtual BOOL canOpenItem() const { return FALSE; }
virtual void closeItem() {}
virtual void selectItem() {}
+ virtual void navigateToFolder(bool new_window = false, bool change_mode = false) {}
virtual BOOL isItemRenameable() const;
virtual BOOL renameItem(const std::string& new_name);
virtual BOOL isItemMovable() const;
@@ -1398,21 +1400,6 @@ void LLPanelObjectInventory::inventoryChanged(LLViewerObject* object,
{
mInventoryNeedsUpdate = TRUE;
}
-
- // refresh any properties floaters that are hanging around.
- if(inventory)
- {
- for (LLInventoryObject::object_list_t::const_iterator iter = inventory->begin();
- iter != inventory->end(); )
- {
- LLInventoryObject* item = *iter++;
- LLFloaterProperties* floater = LLFloaterReg::findTypedInstance<LLFloaterProperties>("properties", item->getUUID());
- if(floater)
- {
- floater->refresh();
- }
- }
- }
}
void LLPanelObjectInventory::updateInventory()