diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llinventory/llinventory.h | 3 | ||||
-rw-r--r-- | indra/newview/llfloaterproperties.cpp | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/indra/llinventory/llinventory.h b/indra/llinventory/llinventory.h index 065c82ddd4..5ff7a1e72b 100644 --- a/indra/llinventory/llinventory.h +++ b/indra/llinventory/llinventory.h @@ -150,6 +150,9 @@ public: // track attachment points. II_FLAGS_OBJECT_SLAM_PERM = 0x100, + // flag to indicate that the object sale information has been changed. + II_FLAGS_OBJECT_SLAM_SALE = 0x1000, + // These flags specify which permissions masks to overwrite // upon rez. Normally, if no permissions slam (above) or // overwrite flags are set, the asset's permissions are diff --git a/indra/newview/llfloaterproperties.cpp b/indra/newview/llfloaterproperties.cpp index 538e8415a0..82f72103f7 100644 --- a/indra/newview/llfloaterproperties.cpp +++ b/indra/newview/llfloaterproperties.cpp @@ -867,6 +867,12 @@ void LLFloaterProperties::updateSaleInfo() && item->isComplete()) { LLPointer<LLViewerInventoryItem> new_item = new LLViewerInventoryItem(item); + + // Force an update on the sale price. + U32 flags = new_item->getFlags(); + flags |= LLInventoryItem::II_FLAGS_OBJECT_SLAM_SALE; + new_item->setFlags(flags); + new_item->setSaleInfo(sale_info); if(mObjectID.isNull()) { |