Backported from Viewer-Dev (14104 (b9f75db99fce) STORM-776 : unable to change permissions to "no trans" on item in avatar inventory...)
parent
3958caac6e
commit
4c7ff3b492
|
|
@ -73,12 +73,12 @@ void LLItemPropertiesObserver::changed(U32 mask)
|
|||
const std::set<LLUUID>& mChangedItemIDs = gInventory.getChangedIDs();
|
||||
std::set<LLUUID>::const_iterator it;
|
||||
|
||||
const LLUUID& object_id = mFloater->getObjectID();
|
||||
const LLUUID& item_id = mFloater->getItemID();
|
||||
|
||||
for (it = mChangedItemIDs.begin(); it != mChangedItemIDs.end(); it++)
|
||||
{
|
||||
// set dirty for 'item profile panel' only if changed item is the item for which 'item profile panel' is shown (STORM-288)
|
||||
if (*it == object_id)
|
||||
if (*it == item_id)
|
||||
{
|
||||
// if there's a change we're interested in.
|
||||
if((mask & (LLInventoryObserver::LABEL | LLInventoryObserver::INTERNAL | LLInventoryObserver::REMOVE)) != 0)
|
||||
|
|
@ -198,6 +198,10 @@ const LLUUID& LLSidepanelItemInfo::getObjectID() const
|
|||
return mObjectID;
|
||||
}
|
||||
|
||||
const LLUUID& LLSidepanelItemInfo::getItemID() const
|
||||
{
|
||||
return mItemID;
|
||||
}
|
||||
void LLSidepanelItemInfo::reset()
|
||||
{
|
||||
LLSidepanelInventorySubpanel::reset();
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ public:
|
|||
void setEditMode(BOOL edit);
|
||||
|
||||
const LLUUID& getObjectID() const;
|
||||
const LLUUID& getItemID() const;
|
||||
|
||||
protected:
|
||||
/*virtual*/ void refresh();
|
||||
|
|
|
|||
Loading…
Reference in New Issue